Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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: