freedreno: fix coverity negative array index warning
authorRob Clark <robclark@freedesktop.org>
Thu, 2 Jun 2016 14:36:23 +0000 (10:36 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 2 Jun 2016 19:44:07 +0000 (15:44 -0400)
commit1632b0eac02cd8911c04115cb6b4693f7dcb16bb
tree9aebb9c8900657cf333a31e93454a9d171e587fa
parentba452d43e0f5ee6ceec5da031f55904f8144472c
freedreno: fix coverity negative array index warning

Never can happen, since query would not have been created in the first
place if pidx(query_type) return negative.  Lets let coverity realize
this.

CID 1362460

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_query_hw.c