]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/qxl: remove set but not used variable 'map'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 10 Nov 2018 03:44:46 +0000 (03:44 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 14 Nov 2018 13:21:04 +0000 (14:21 +0100)
commit45230903ecd4068b3f3fd4ea271c525048655ce8
tree3bf3d1ff6091f6f9deb6c325ebb0cab50aa187e5
parent040b595a91b21b61d6e0d388394b79c85f614e7c
drm/qxl: remove set but not used variable 'map'

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

drivers/gpu/drm/qxl/qxl_object.c: In function 'qxl_bo_kunmap_atomic_page':
drivers/gpu/drm/qxl/qxl_object.c:189:21: warning:
 variable 'map' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1541821486-40631-1-git-send-email-yuehaibing@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_object.c