diff options
| -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) | |||
| 232 | 232 | ||
| 233 | return 0; | 233 | return 0; |
| 234 | 234 | ||
| 235 | if (devptr->gpio.base != -1) | ||
| 236 | temp = gpiochip_remove(&devptr->gpio); | ||
| 237 | err_gpio: | 235 | err_gpio: |
| 238 | platform_set_drvdata(pdev, NULL); | 236 | platform_set_drvdata(pdev, NULL); |
| 239 | err_ioremap: | 237 | err_ioremap: |
