summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-10-02 22:30:55 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2017-10-04 21:09:19 +0200
commit0640357bf4f9a8b8c624c295bd0e001e5d0db5a9 (patch)
tree757e9f9fca8171e8899265a9b1893c93dc96ced8
parentARM: s3c64xx: Remove printk for failed memory allocation in samsung_bl_set (diff)
downloadlinux-0640357bf4f9a8b8c624c295bd0e001e5d0db5a9.tar.xz
linux-0640357bf4f9a8b8c624c295bd0e001e5d0db5a9.zip
ARM: s3c64xx: Delete an unnecessary return statement in samsung_bl_set
Fix checkpatch warning: WARNING: void function return statements are not generally useful Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> [krzk: Rewrite commit message] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/mach-s3c64xx/dev-backlight.c1
1 files changed, 0 insertions, 1 deletions
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 @@ err_plat_reg2:
kfree(samsung_bl_data);
err_data:
kfree(samsung_bl_device);
- return;
}