OpenCloudOS-Kernel/drivers/gpu/drm/i810
Jason Yan 268d0a9260 drm/i810: make i810_flush_queue() return void
This function always return '0' and no callers use the return value. So
make it a void function.

This eliminates the following coccicheck warning:

drivers/gpu/drm/i810/i810_dma.c:860:8-11: Unneeded variable: "ret".
Return "0" on line 885

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200910140610.1191578-1-yanaijie@huawei.com
2020-09-11 10:54:17 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
i810_dma.c drm/i810: make i810_flush_queue() return void 2020-09-11 10:54:17 +02:00
i810_drv.c drm/i810: Don't include <drm/drm_pci.h> 2019-12-05 08:44:12 +01:00
i810_drv.h drm/i810: drop use of drmP.h 2019-07-17 12:52:55 +02:00