drm/virtio: Remove redundant return type
authorRobert Foss <robert.foss@collabora.com>
Mon, 6 May 2019 09:10:34 +0000 (11:10 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 6 May 2019 13:36:23 +0000 (15:36 +0200)
commitfa2b7c21d9b974b5b1b4f63a02edeaf049054dba
tree74de2e203323447cef2e66f56f74ecad3403a0c4
parent9c79edecb0e2416512cd17fd291b768051afd3af
drm/virtio: Remove redundant return type

virtio_gpu_fence_emit() always returns 0, since it
has no error paths.

Consequently no calls for virtio_gpu_fence_emit()
use the return value, and it can be removed.

Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190506091034.30289-1-robert.foss@collabora.com
Suggested-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_fence.c