gpio: samsung: Remove double variable assignment
PATCH 1/1 gpio: samsung: Remove double variable assignment
Signed-off-by Alexander Shiyan <[email protected]>
--- drivers/gpio/gpio-samsung.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpio/gpio-samsung.c +0 -1
@@ -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 ;
Signature · 1 line
1.8.3.2
Quoted 10 lines · Alexander Shiyan
Signed-off-by Alexander Shiyan <[email protected]>--- drivers/gpio/gpio-samsung.c | 1 - 1 file changed, 1 deletion(-)drivers/gpio/gpio-samsung.c +0
-0
drivers/gpio/gpio-samsung.c static int s5p64x0_gpio_setcfg_rbank(struct samsung_gpio_chip *chip, · line 382
Quoted 7 lines
drivers/gpio/gpio-samsung.c +0
-1@@ -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 ;
This makes perfect sense from a semantic point of view.
But I'm just worried that it may be a syntactic error after all, such as a break; missing in case 6?
What does Samsung folks say about this?
Yours,
Linus Walleij