From 3194197efd78dd1aa14c153672e0ed028d9d5abb Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 21 Feb 2010 01:30:35 -0800 Subject: [PATCH] i965g: Remove dead code. --- src/gallium/drivers/i965/brw_screen_surface.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/i965/brw_screen_surface.c b/src/gallium/drivers/i965/brw_screen_surface.c index e2b9954e596..904df813dda 100644 --- a/src/gallium/drivers/i965/brw_screen_surface.c +++ b/src/gallium/drivers/i965/brw_screen_surface.c @@ -231,8 +231,6 @@ static struct pipe_surface *brw_get_tex_surface(struct pipe_screen *screen, case BRW_VIEW_IN_PLACE: surface = create_in_place_view( bscreen, tex, id, usage ); break; - default: - return NULL; } insert_at_head( &tex->views[type], surface ); -- 2.30.2