[PATCH 2/2] ARM: s3c64xx: Delete an unnecessary return statement in samsung_bl_set()
SF Markus Elfring
elfring at users.sourceforge.net
Mon Oct 2 13:40:44 PDT 2017
From: Markus Elfring <elfring at users.sourceforge.net>
Date: Mon, 2 Oct 2017 22:30:55 +0200
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>
---
arch/arm/mach-s3c64xx/dev-backlight.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-s3c64xx/dev-backlight.c b/arch/arm/mach-s3c64xx/dev-backlight.c
index 7e2db762c442..7ef8b9019344 100644
--- a/arch/arm/mach-s3c64xx/dev-backlight.c
+++ b/arch/arm/mach-s3c64xx/dev-backlight.c
@@ -141,5 +141,4 @@ void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
kfree(samsung_bl_data);
err_data:
kfree(samsung_bl_device);
- return;
}
--
2.14.2
More information about the linux-arm-kernel
mailing list