UPSTREAM: drm/virtio: use virtio_gpu_object->hw_res_handle in virtio_gpu_resource_create_ioctl()
Drop pointless res_id variable in virtio_gpu_resource_create_ioctl(), 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-5-kraxel@redhat.com (cherry picked from commit 70a0d6a37726a1a3d13a8b358fb362ea692778e1) Signed-off-by:
Greg Hartman <ghartman@google.com> BUG: 139386237 Change-Id: Ie3ac3462acb28c780da97272466a6c3b2cc37b95
Loading
Please register or sign in to comment