Re: [PATCH] drm/virtio: Remove redundant return type

2019-05-06 Thread Gerd Hoffmann
On Fri, May 03, 2019 at 06:38:04PM +0200, Robert Foss wrote: > 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 > Suggested-by: Emil

Re: [PATCH] drm/virtio: Remove redundant return type

2019-05-03 Thread Chia-I Wu
On Fri, May 3, 2019 at 9:38 AM Robert Foss wrote: > > 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 > Suggested-by: Emil Velikov

[PATCH] drm/virtio: Remove redundant return type

2019-05-03 Thread Robert Foss
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 Suggested-by: Emil Velikov --- This patch was suggested in this email thread: [PATCH] drm/virtio: