Skip to content

Commit 9664efe

Browse files
Jason Wangarndb
authored andcommitted
ARM: s3c: delete unneed local variable "delay"
"delay" variable on line 79 can be deleted by returning "0" on line 88. Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected]' Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 9dbacd4 commit 9664efe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/arm/mach-s3c/mach-gta02.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,12 @@ static struct pcf50633 *gta02_pcf;
7979

8080
static long gta02_panic_blink(int state)
8181
{
82-
long delay = 0;
8382
char led;
8483

8584
led = (state) ? 1 : 0;
8685
gpio_direction_output(GTA02_GPIO_AUX_LED, led);
8786

88-
return delay;
87+
return 0;
8988
}
9089

9190

0 commit comments

Comments
 (0)