* [PATCH] mfd: cleanup asic3_init()
@ 2014-04-09 7:24 Christoph Jaeger
0 siblings, 0 replies; only message in thread
From: Christoph Jaeger @ 2014-04-09 7:24 UTC (permalink / raw)
To: sameo, lee.jones; +Cc: linux-kernel, Christoph Jaeger
Remove superfluous variable.
Signed-off-by: Christoph Jaeger <christophjaeger@linux.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-09 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-09 7:24 [PATCH] mfd: cleanup asic3_init() Christoph Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®