[PATCH 3/5] radeon_backlight: Delete an unnecessary return statement in radeonfb_bl_init()
SF Markus Elfring
elfring at users.sourceforge.net
Mon Nov 27 21:26:08 UTC 2017
From: Markus Elfring <elfring at users.sourceforge.net>
Date: Mon, 27 Nov 2017 21:37:52 +0100
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
---
drivers/video/fbdev/aty/radeon_backlight.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/video/fbdev/aty/radeon_backlight.c b/drivers/video/fbdev/aty/radeon_backlight.c
index 78c36c8d5e57..c5e0e3557cc2 100644
--- a/drivers/video/fbdev/aty/radeon_backlight.c
+++ b/drivers/video/fbdev/aty/radeon_backlight.c
@@ -193,7 +193,6 @@ void radeonfb_bl_init(struct radeonfb_info *rinfo)
error:
kfree(pdata);
- return;
}
void radeonfb_bl_exit(struct radeonfb_info *rinfo)
--
2.15.0
More information about the dri-devel
mailing list