UPSTREAM: 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 (cherry picked from commit ae0dc3cc38b1afdb481e460cd0dd58e200df5426) Signed-off-by:
Greg Hartman <ghartman@google.com> BUG: 139386237 Change-Id: I3b9724f993a5407befd74534ec627703d49a91d5
Loading
Please register or sign in to comment