Gerd Hoffmann
2019-Mar-28 10:32 UTC
[PATCH v2 -next] drm/virtio: remove set but not used variable 'vgdev'
On Mon, Mar 25, 2019 at 09:26:31AM +0000, YueHaibing wrote:> Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/virtio/virtgpu_ttm.c: In function 'virtio_gpu_init_mem_type': > drivers/gpu/drm/virtio/virtgpu_ttm.c:117:28: warning: > variable 'vgdev' set but not used [-Wunused-but-set-variable] > > drivers/gpu/drm/virtio/virtgpu_ttm.c: In function 'virtio_gpu_bo_swap_notify': > drivers/gpu/drm/virtio/virtgpu_ttm.c:300:28: warning: > variable 'vgdev' set but not used [-Wunused-but-set-variable] > > It is never used since introduction in dc5698e80cf7 ("Add virtio gpu driver.")Patch queued up. thanks, Gerd
Seemingly Similar Threads
- [PATCH -next] drm/ttm: remove set but not used variable 'vgdev'
- [PATCH v2 -next] drm/virtio: remove set but not used variable 'vgdev'
- [PATCH v2 -next] drm/virtio: remove set but not used variable 'vgdev'
- [PATCH 04/10] drm/virtio: move virtio_gpu_object_{attach, detach} calls.
- [PATCH v3 1/5] drm/virtio: move virtio_gpu_object_{attach, detach} calls.