panfrost: Fix misc. issues flagged by cppcheck
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 31 Aug 2019 00:37:22 +0000 (17:37 -0700)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 3 Sep 2019 11:55:29 +0000 (13:55 +0200)
commit42f0aae874da440a041ee09b20c93f0d8e836b37
treecdf93433d611da13ea922f459864d446b087434e
parent6bd18bb264d02c00505c332d595625daa0a397cb
panfrost: Fix misc. issues flagged by cppcheck

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/pan_allocate.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_resource.c