diff options
author | Edward O'Callaghan <[email protected]> | 2015-12-04 20:08:09 +1100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-06 17:10:23 +0100 |
commit | d108b69d2cd4c54cc5eaa9ef5d75604d57b5187f (patch) | |
tree | 0d9f2e38772a896f7868015776ed8b5a5e1207d5 /src/gallium/auxiliary/draw/draw_pipe_aaline.c | |
parent | 13eb5f596bc8ece3d1805b388aa53917e6158d7b (diff) |
gallium: Remove redundant NULL ptr checks
Signed-off-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_aaline.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_aaline.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_aaline.c b/src/gallium/auxiliary/draw/draw_pipe_aaline.c index 337fb0fadda..877db5979b1 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_aaline.c +++ b/src/gallium/auxiliary/draw/draw_pipe_aaline.c @@ -793,8 +793,7 @@ draw_aaline_stage(struct draw_context *draw) return aaline; fail: - if (aaline) - aaline->stage.destroy(&aaline->stage); + aaline->stage.destroy(&aaline->stage); return NULL; } |