[PATCH] video: fbdev: hyperv_fb: Removed unnecessary 'return'

lijian_8010a29 at 163.com lijian_8010a29 at 163.com
Fri Jun 4 02:55:52 UTC 2021


From: lijian <lijian at yulong.com>

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

Signed-off-by: lijian <lijian at yulong.com>
---
 drivers/video/fbdev/hyperv_fb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
index 23999df52739..c8e57a513896 100644
--- a/drivers/video/fbdev/hyperv_fb.c
+++ b/drivers/video/fbdev/hyperv_fb.c
@@ -952,7 +952,6 @@ static void hvfb_get_option(struct fb_info *info)
 
 	screen_width = x;
 	screen_height = y;
-	return;
 }
 
 /*
-- 
2.25.1




More information about the dri-devel mailing list