2023-05-31 02:59:45

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] leds: cht-wcove: remove unneeded semicolon

No functional modification involved.

./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5343
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/leds/leds-cht-wcove.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-cht-wcove.c b/drivers/leds/leds-cht-wcove.c
index 0cfebee98910..e35a25990048 100644
--- a/drivers/leds/leds-cht-wcove.c
+++ b/drivers/leds/leds-cht-wcove.c
@@ -190,7 +190,7 @@ static unsigned long cht_wc_leds_get_period(int ctrl)
return 1000;
case CHT_WC_LED_F_2_HZ:
return 1000 / 2;
- };
+ }

return 0;
}
--
2.20.1.7.g153144c



2023-06-08 17:27:13

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH] leds: cht-wcove: remove unneeded semicolon

On Wed, 31 May 2023, Jiapeng Chong wrote:

> No functional modification involved.
>
> ./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5343
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/leds/leds-cht-wcove.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

--
Lee Jones [李琼斯]