drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpufb_create()
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 19 Oct 2018 06:18:43 +0000 (08:18 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 29 Oct 2018 21:50:55 +0000 (22:50 +0100)
commitae0dc3cc38b1afdb481e460cd0dd58e200df5426
tree7929a6a7b1612f23a50794e5865b4dc38bddc3db
parent23c897d72ca8064c626be0ef73fe671488d584bb
drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpufb_create()

Drop pointless resid variable in virtio_gpufb_create(), just use
the hw_res_handle field in virtio_gpu_object directly.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181019061847.18958-3-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_fb.c