linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video: fbdev: cirrusfb: Removed unnecessary 'return'
@ 2021-06-04  3:06 lijian_8010a29
  0 siblings, 0 replies; only message in thread
From: lijian_8010a29 @ 2021-06-04  3:06 UTC (permalink / raw)
  To: tzimmermann, sam, gustavoars, rppt, saeed.mirzamohammadi
  Cc: linux-fbdev, dri-devel, linux-kernel, lijian

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 --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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-04  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04  3:06 [PATCH] video: fbdev: cirrusfb: Removed unnecessary 'return' lijian_8010a29

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox