zink: remove needless NULL-check
This NULL-check makes Coverity paranoid because we just dereferenced the pointer a few lines above. But we never call this function with a NULL-pointer here, so the NULL check isn't needed. Let's just remove it, to calm Coverity down a bit. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12559>
This commit is contained in:
parent
077a9c7478
commit
d3a795b528
|
@ -100,9 +100,6 @@ tc_fence_finish(struct zink_context *ctx, struct zink_tc_fence *mfence, uint64_t
|
|||
threaded_context_flush(&ctx->base, mfence->tc_token, *timeout_ns == 0);
|
||||
}
|
||||
|
||||
if (!timeout_ns)
|
||||
return false;
|
||||
|
||||
/* this is a tc mfence, so we're just waiting on the queue mfence to complete
|
||||
* after being signaled by the real mfence
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue