summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-02-21 01:30:35 -0800
committerVinson Lee <[email protected]>2010-02-21 01:30:35 -0800
commit3194197efd78dd1aa14c153672e0ed028d9d5abb (patch)
tree770832554cefb206d29e122bded3e3c90cbd937f /src
parent0b83f48e8263ab9ea7c30a929f1d5764b9c61d2a (diff)
i965g: Remove dead code.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i965/brw_screen_surface.c2
1 files changed, 0 insertions, 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 );