i965g: Remove dead code.
authorVinson Lee <vlee@vmware.com>
Sun, 21 Feb 2010 09:30:35 +0000 (01:30 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 21 Feb 2010 09:30:35 +0000 (01:30 -0800)
src/gallium/drivers/i965/brw_screen_surface.c

index e2b9954e596707fb3d32dda60f732d0303b0ccd6..904df813ddaf1eb7d72ccb763f49b242df0a3ba5 100644 (file)
@@ -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 );