From: Lee Jones Date: Wed, 2 Jul 2014 10:13:42 +0000 (+0100) Subject: mfd: ab8500-core: Remove pointless else in if statement X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f35563027f4555fee8a6ee5a8c775cbf0c9ad4ef;p=deliverable%2Flinux.git mfd: ab8500-core: Remove pointless else in if statement Save a line of code (albeit, it's replaced by a blank line, but still), as the else is superfluous. Reviewed-by: Linus Walleij Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index cf2e6a198c6b..857f19ac4bd8 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -607,8 +607,8 @@ int ab8500_suspend(struct ab8500 *ab8500) { if (atomic_read(&ab8500->transfer_ongoing)) return -EINVAL; - else - return 0; + + return 0; } static struct resource ab8500_gpadc_resources[] = {