Re: [PATCH -next] drm/qxl: remove set but not used variable 'map'

From: Gerd Hoffmann
Date: Wed Nov 14 2018 - 07:16:06 EST


On Sat, Nov 10, 2018 at 03:44:46AM +0000, YueHaibing wrote:
> 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]

Both qxl patches added to qemu queue, should land in drm-misc-next soon.

thanks,
Gerd