diff mbox series

video: fbdev: cirrusfb: Removed unnecessary 'return'

Message ID 20210604030624.122085-1-lijian_8010a29@163.com (mailing list archive)
State Superseded, archived
Headers show
Series video: fbdev: cirrusfb: Removed unnecessary 'return' | expand

Commit Message

lijian_8010a29@163.com June 4, 2021, 3:06 a.m. UTC
From: lijian <lijian@yulong.com>

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

Signed-off-by: lijian <lijian@yulong.com>
---
 drivers/video/fbdev/cirrusfb.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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)