Skip to content
Commit ea4584c2 authored by YueHaibing's avatar YueHaibing Committed by Gerd Hoffmann
Browse files

drm/virtio: Remove set but not used variable 'bo'



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

drivers/gpu/drm/virtio/virtgpu_display.c: In function 'virtio_gpu_framebuffer_init':
drivers/gpu/drm/virtio/virtgpu_display.c:78:28: warning:
 variable 'bo' set but not used [-Wunused-but-set-variable]
  struct virtio_gpu_object *bo;
                            ^

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1536285837-150460-1-git-send-email-yuehaibing@huawei.com


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 72fdb40c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment