From: Brian Paul Date: Tue, 20 Apr 2010 16:08:52 +0000 (-0600) Subject: gallium/util: remove bogus return statement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d022bddf24b0f842ae96cf04a827e8995ac04e92;p=mesa.git gallium/util: remove bogus return statement util_surfaces_do_detach() is a void-valued function. --- diff --git a/src/gallium/auxiliary/util/u_surfaces.h b/src/gallium/auxiliary/util/u_surfaces.h index 6de5e7cc17e..0195bf5afba 100644 --- a/src/gallium/auxiliary/util/u_surfaces.h +++ b/src/gallium/auxiliary/util/u_surfaces.h @@ -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 *));