From 1ef2bf8227abe928e149772f9e6ee9d59c1bd97e Mon Sep 17 00:00:00 2001 From: Alexander Shiyan Date: Sun, 16 Mar 2014 05:54:57 +0100 Subject: ARM: 8006/1: Remove redundant code Statements following return will never be executed. This patch removes this code. Signed-off-by: Alexander Shiyan Signed-off-by: Russell King diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index a5c3dc3..6ef146e 100644 --- a/arch/arm/common/scoop.c +++ b/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: -- cgit v0.10.2