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 6de5e7c..0195bf5 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 *));