diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-21 01:57:16 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-21 01:57:16 -0800 |
commit | d89de9c13fe6cd1f2f1a82d8bc0988d06e629def (patch) | |
tree | 73ce400db025e01e8cc19e72ccf0cbefbe75481a | |
parent | 3194197efd78dd1aa14c153672e0ed028d9d5abb (diff) |
draw: Remove dead code.
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_aapoint.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_aapoint.c b/src/gallium/auxiliary/draw/draw_pipe_aapoint.c index 97f3480879..9f9fb4312c 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_aapoint.c +++ b/src/gallium/auxiliary/draw/draw_pipe_aapoint.c @@ -864,7 +864,7 @@ draw_install_aapoint_stage(struct draw_context *draw, */ aapoint = draw_aapoint_stage( draw ); if (aapoint == NULL) - goto fail; + return FALSE; aapoint->pipe = pipe; @@ -881,10 +881,4 @@ draw_install_aapoint_stage(struct draw_context *draw, draw->pipeline.aapoint = &aapoint->stage; return TRUE; - - fail: - if (aapoint) - aapoint->stage.destroy( &aapoint->stage ); - - return FALSE; } |