Skip to contentSkip to conversation

mfd: cleanup asic3_init()

PATCH New Christoph Jaeger 1 participant 1 message Apr 9, 2014 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: cleanup asic3_init()

Remove superfluous variable.

---
 drivers/mfd/asic3.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/mfd/asic3.c +1 -3
index 9f6294f..b795184 100644
@@ -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);
Signature · 1 line
1.9.0