i965: remove redundant NULL check
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 21 May 2016 02:06:58 +0000 (12:06 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sun, 22 May 2016 13:08:08 +0000 (23:08 +1000)
commita83e9afbe4bb6e89b95b6bd32c6e7b2b08402c47
treea38a2defc17278636babda635846107cb16b96a8
parent7dce4793b7fae65a2ecb63681c5096fb2af2eec4
i965: remove redundant NULL check

We would have segfaulted in the above code if prog could be NULL.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_gs.c