[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1397028277-30661-1-git-send-email-christophjaeger@linux.com>
Date:	Wed,  9 Apr 2014 09:24:37 +0200
From:	Christoph Jaeger <christophjaeger@...ux.com>
To:	sameo@...ux.intel.com, lee.jones@...aro.org
Cc:	linux-kernel@...r.kernel.org,
	Christoph Jaeger <christophjaeger@...ux.com>
Subject: [PATCH] mfd: cleanup asic3_init()
Remove superfluous variable.
Signed-off-by: Christoph Jaeger <christophjaeger@...ux.com>
---
 drivers/mfd/asic3.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 9f6294f..b795184 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -1071,9 +1071,7 @@ static struct platform_driver asic3_device_driver = {
 
 static int __init asic3_init(void)
 {
-	int retval = 0;
-	retval = platform_driver_probe(&asic3_device_driver, asic3_probe);
-	return retval;
+	return platform_driver_probe(&asic3_device_driver, asic3_probe);
 }
 
 subsys_initcall(asic3_init);
-- 
1.9.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
