2021-06-04 03:09:01

by lijian_8010a29

[permalink] [raw]
Subject: [PATCH] video: fbdev: cirrusfb: Removed unnecessary 'return'

From: lijian <[email protected]>

Removed unnecessary 'return' in void function init_vgachip().

Signed-off-by: lijian <[email protected]>
---
drivers/video/fbdev/cirrusfb.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/video/fbdev/cirrusfb.c b/drivers/video/fbdev/cirrusfb.c
index 93802abbbc72..e726e7ac3eeb 100644
--- a/drivers/video/fbdev/cirrusfb.c
+++ b/drivers/video/fbdev/cirrusfb.c
@@ -1662,7 +1662,6 @@ static void init_vgachip(struct fb_info *info)

/* misc... */
WHDR(cinfo, 0); /* Hidden DAC register: - */
- return;
}

static void switch_monitor(struct cirrusfb_info *cinfo, int on)
--
2.25.1