Thread (2 messages) flat view 2 messages, 2 authors, 2014-02-24
STALE4594d

[PATCH] gpio: samsung: Remove double variable assignment

From: Alexander Shiyan <hidden>
Date: 2014-02-15 13:29:40
Subsystem: gpio subsystem, the rest · Maintainers: Linus Walleij, Bartosz Golaszewski, Linus Torvalds

Signed-off-by: Alexander Shiyan <redacted>
---
 drivers/gpio/gpio-samsung.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
index a85e00b..929f31e 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -377,7 +377,6 @@ static int s5p64x0_gpio_setcfg_rbank(struct samsung_gpio_chip *chip,
 		reg -= 4;
 		break;
 	case 6:
-		shift = ((off + 1) & 7) * 4;
 		reg -= 4;
 	default:
 		shift = ((off + 1) & 7) * 4;
-- 
1.8.3.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help