gallium/util: remove bogus return statement
authorBrian Paul <brianp@vmware.com>
Tue, 20 Apr 2010 16:08:52 +0000 (10:08 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Apr 2010 16:10:48 +0000 (10:10 -0600)
util_surfaces_do_detach() is a void-valued function.

src/gallium/auxiliary/util/u_surfaces.h

index 6de5e7cc17e0d0bf8191a385c1ba1226d09981f9..0195bf5afbaf6788004f42131d22636b01ca0511 100644 (file)
@@ -46,7 +46,7 @@ util_surfaces_detach(struct util_surfaces *us, struct pipe_surface *ps)
       return;
    }
 
-   return util_surfaces_do_detach(us, ps);
+   util_surfaces_do_detach(us, ps);
 }
 
 void util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (*destroy_surface) (struct pipe_surface *));