Delete unneed variable "delay" on line 79
Subsystems (3)
PATCH 1/1 Delete unneed variable "delay" on line 79
"delay" variable on line 79 can be deleted by returning "0" on line 88.
Signed-off-by Jason Wang <[email protected]>
--- arch/arm/mach-s3c/mach-gta02.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-s3c/mach-gta02.c +1 -2
@@ -79,13 +79,12 @@ static struct pcf50633 *gta02_pcf;static long gta02_panic_blink (int state) { -long delay =0 ;char led; led = (state) ?1 :0 ;gpio_direction_output (GTA02_GPIO_AUX_LED , led); -return delay; +return 0 ; }
Signature · 9 lines
2.31.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Krzysztof Kozlowski
AppliedQuoted 1 line · Jason Wang
"delay" variable on line 79 can be deleted by returning "0" on line 88.
Please use subject prefix matching subsystem
(git log --oneline -- arch/arm/mach-s3c).
Applied, thanks!
[1/1] Delete unneed variable "delay" on line 79
commit: 8729ca2a6f2dd154e32b6d4858425ba29b012f7f
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>