anv/pipeline: remove unnecessary null-pointer check
authorAndrii Simiklit <andrii.simiklit@globallogic.com>
Wed, 9 Jan 2019 13:39:45 +0000 (15:39 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Jan 2019 18:29:12 +0000 (12:29 -0600)
commit0206ffc28db1c12a62c96384760c38f21ec1b420
treed5ddcd88f8bf5bcd9919f6afcfff04c140b4e373
parentd2c170eb355a912586cb982858faac2fc85c4783
anv/pipeline: remove unnecessary null-pointer check

Looks like it is impossible that 'last' variable is a null
because at least the get_vs_prog_data shouldn't return a null pointer.
So this check is unnecessary starts from commit:
99d497c5b691 "anv/pipeline: Replace get_fs_input_map with ..."

This small issue is found by cppcheck.

Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_pipeline.c