[PATCH] mfd: cleanup asic3_init()

From: Christoph Jaeger
Date: Wed Apr 09 2014 - 03:24:55 EST


Remove superfluous variable.

Signed-off-by: Christoph Jaeger <christophjaeger@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/