Commit 1ef2bf82 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Russell King

ARM: 8006/1: Remove redundant code

Statements following return will never be executed.
This patch removes this code.
Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 287d4d51
...@@ -232,8 +232,6 @@ static int scoop_probe(struct platform_device *pdev) ...@@ -232,8 +232,6 @@ static int scoop_probe(struct platform_device *pdev)
return 0; return 0;
if (devptr->gpio.base != -1)
temp = gpiochip_remove(&devptr->gpio);
err_gpio: err_gpio:
platform_set_drvdata(pdev, NULL); platform_set_drvdata(pdev, NULL);
err_ioremap: err_ioremap:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment