diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-03-16 05:54:57 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-03-19 20:19:01 +0000 |
commit | 1ef2bf8227abe928e149772f9e6ee9d59c1bd97e (patch) | |
tree | 11278659a94a185c7293ee2008e08a008ed4dfab /arch/arm/common | |
parent | 287d4d51e6bb1cd43cb77352bdec5bac1b2e1226 (diff) | |
download | blackbird-op-linux-1ef2bf8227abe928e149772f9e6ee9d59c1bd97e.tar.gz blackbird-op-linux-1ef2bf8227abe928e149772f9e6ee9d59c1bd97e.zip |
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/common')
-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: |