UPSTREAM: drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpu_mode_dumb_create()
Drop pointless resid variable in virtio_gpu_mode_dumb_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-4-kraxel@redhat.com (cherry picked from commit c40336ba5ed6c67e131cbf82a4fa37faf3bf0ed3) Signed-off-by:
Greg Hartman <ghartman@google.com> BUG: 139386237 Change-Id: I151241825d4c8c51297d29bd229d3cd6ccf411af
Loading
Please register or sign in to comment