commit | c40336ba5ed6c67e131cbf82a4fa37faf3bf0ed3 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Oct 19 08:18:44 2018 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Oct 29 22:50:55 2018 +0100 |
tree | 8ee6d4261cd3950acb8b88e3a283d9bd5247f820 | |
parent | ae0dc3cc38b1afdb481e460cd0dd58e200df5426 [diff] |
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