From: Guenter Roeck Date: Sat, 14 Sep 2013 07:47:24 +0000 (-0700) Subject: hwmon: (f71882fg) Remove extra return statement X-Git-Tag: accepted/tizen/common/20141203.182822~1162^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=522928a87fb98f0d6c99a5d66d2049768be6935b;p=platform%2Fkernel%2Flinux-arm64.git hwmon: (f71882fg) Remove extra return statement Leftover from commit 33cd66e3 (hwmon: (f71882fg) Convert to use devm_ functions). Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c index 31b221e..03d8592 100644 --- a/drivers/hwmon/f71882fg.c +++ b/drivers/hwmon/f71882fg.c @@ -2420,7 +2420,6 @@ static int f71882fg_probe(struct platform_device *pdev) exit_unregister_sysfs: f71882fg_remove(pdev); /* Will unregister the sysfs files for us */ return err; /* f71882fg_remove() also frees our data */ - return err; } static int f71882fg_remove(struct platform_device *pdev)