drm/panfrost: Remove set but not used variable 'bo'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 3 Feb 2020 15:27:24 +0000 (15:27 +0000)
committerRob Herring <robh@kernel.org>
Wed, 12 Feb 2020 19:49:55 +0000 (13:49 -0600)
commitfe154a2422333c4cd87bb0d8a19fb2df066cc6ee
treeaecd7ebfba4324b008be2420f48e11ce9f614ba5
parent5c320b6ce7510653bce68cecf80cf5b2d67e907f
drm/panfrost: Remove set but not used variable 'bo'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_cleanup':
drivers/gpu/drm/panfrost/panfrost_job.c:278:31: warning:
 variable 'bo' set but not used [-Wunused-but-set-variable]

commit bdefca2d8dc0 ("drm/panfrost: Add the panfrost_gem_mapping concept")
involved this unused variable.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Alyssas Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200203152724.42611-1-yuehaibing@huawei.com
drivers/gpu/drm/panfrost/panfrost_job.c