summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-20 10:08:52 -0600
committerBrian Paul <brianp@vmware.com>2010-04-20 10:10:48 -0600
commitd022bddf24b0f842ae96cf04a827e8995ac04e92 (patch)
treeb267b465c4d1fdd321dcc524aacd890ef8fdff46
parent94c07b1320fe1bab6a048bfd070376725a694cc0 (diff)
gallium/util: remove bogus return statement
util_surfaces_do_detach() is a void-valued function.
-rw-r--r--src/gallium/auxiliary/util/u_surfaces.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_surfaces.h b/src/gallium/auxiliary/util/u_surfaces.h
index 6de5e7cc17..0195bf5afb 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 *));