llvmpipe: Remove unnecessary null check of shader.
authorVinson Lee <vlee@freedesktop.org>
Sat, 28 Sep 2013 04:27:19 +0000 (21:27 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 1 Oct 2013 05:00:54 +0000 (22:00 -0700)
commit76df7edacfd684f97b38032773a6c56919970b15
tree4366e5b228cc011fd568d275e3eed7ecf2a6d843
parentac82495d6d562091d819b0109adf43fd89e49537
llvmpipe: Remove unnecessary null check of shader.

shader has already been dereferenced earlier so cannot be null here.

Fixes "Dereference before null check" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_fs.c