diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-16 08:54:57 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-03-20 00:19:01 +0400 |
commit | 1ef2bf8227abe928e149772f9e6ee9d59c1bd97e (patch) | |
tree | 11278659a94a185c7293ee2008e08a008ed4dfab /arch/arm | |
parent | 287d4d51e6bb1cd43cb77352bdec5bac1b2e1226 (diff) | |
download | linux-1ef2bf8227abe928e149772f9e6ee9d59c1bd97e.tar.xz |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/common/scoop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index a5c3dc38aa18..6ef146edd0cd 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: |