All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] video: fbdev: cirrusfb: Removed unnecessary 'return'
@ 2021-06-04  3:06 ` lijian_8010a29
  0 siblings, 0 replies; 2+ messages 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 related	[flat|nested] 2+ messages in thread

* [PATCH] video: fbdev: cirrusfb: Removed unnecessary 'return'
@ 2021-06-04  3:06 ` lijian_8010a29
  0 siblings, 0 replies; 2+ messages in thread
From: lijian_8010a29 @ 2021-06-04  3:06 UTC (permalink / raw)
  To: tzimmermann, sam, gustavoars, rppt, saeed.mirzamohammadi
  Cc: linux-fbdev, linux-kernel, dri-devel, 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 related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-04  3:07 UTC | newest]

Thread overview: 2+ messages (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
2021-06-04  3:06 ` lijian_8010a29

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.