From: Vinson Lee Date: Sun, 21 Feb 2010 09:30:35 +0000 (-0800) Subject: i965g: Remove dead code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3194197efd78dd1aa14c153672e0ed028d9d5abb;p=mesa.git i965g: Remove dead code. --- 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 );