draw: Remove dead code.

This commit is contained in:
Vinson Lee 2010-02-21 01:57:16 -08:00
parent 3194197efd
commit d89de9c13f

View file

@ -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;
}