panfrost: Delete debug allocated syncobj.
authorVinson Lee <vlee@freedesktop.org>
Tue, 15 Sep 2020 00:53:31 +0000 (17:53 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 17 Sep 2020 23:12:14 +0000 (23:12 +0000)
commitffbdbd631ad9aa391f5160bf50d6849d98bb6de4
tree37aeb55783848d0c6aa7ed75b5d1e95ab63a9bc5
parentfcc506e52060ce0b2db756c7b07c70a781fac8c3
panfrost: Delete debug allocated syncobj.

Fix defect reported by Coverity Scan.

Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this statement: drmSyncobjDestroy(dev->fd, ...

Fixes: 64d6f56ad26f ("panfrost: Allocate syncobjs in panfrost_flush")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6720>
src/gallium/drivers/panfrost/pan_job.c