Module: Mesa
Branch: master
Commit: 3194197efd78dd1aa14c153672e0ed028d9d5abb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3194197efd78dd1aa14c153672e0ed028d9d5abb

Author: Vinson Lee <[email protected]>
Date:   Sun Feb 21 01:30:35 2010 -0800

i965g: Remove dead code.

---

 src/gallium/drivers/i965/brw_screen_surface.c |    2 --
 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 e2b9954..904df81 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 );

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to