ARM: 8006/1: Remove redundant code

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

Signed-off-by: Alexander Shiyan <[email protected]>
Signed-off-by: Russell King <[email protected]>
This commit is contained in:
Alexander Shiyan 2014-03-16 05:54:57 +01:00 • committed by Russell King
commit 1ef2bf8227

View file

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