Skip to contentSkip to conversation

ARM: common/scoop.c: Remove redundant code

PATCH New Alexander Shiyan 1 participant 1 message Feb 15, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: common/scoop.c: Remove redundant code

Statements following return will never be executed. This patch removes this code.

---
 arch/arm/common/scoop.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/common/scoop.c +0 -2
index a5c3dc3..6ef146e 100644
@@ -232,8 +232,6 @@ static int scoop_probe(struct platform_device *pdev)
 
 	return 0;
 
-	if (devptr->gpio.base != -1)
-		temp = gpiochip_remove(&devptr->gpio);
 err_gpio:
 	platform_set_drvdata(pdev, NULL);
 err_ioremap:
Signature · 1 line
1.8.3.2