Explorar o código

ARM: 8006/1: Remove redundant code

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

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Alexander Shiyan %!s(int64=11) %!d(string=hai) anos
pai
achega
1ef2bf8227
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      arch/arm/common/scoop.c

+ 0 - 2
arch/arm/common/scoop.c

@@ -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: