projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
287d4d5
)
ARM: 8006/1: Remove redundant code
author
Alexander Shiyan
<shc_work@mail.ru>
Sun, 16 Mar 2014 04:54:57 +0000
(
05:54
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 19 Mar 2014 20:19:01 +0000
(20:19 +0000)
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>
arch/arm/common/scoop.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/common/scoop.c
b/arch/arm/common/scoop.c
index a5c3dc38aa1818d29285d16789df7788bd83aa4c..6ef146edd0cd24849757ab82026c6e33ebf9a199 100644
(file)
--- 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: