Message ID | e66d4beb79da0bfa18269c390f1ed5ef@208suo.com |
---|---|
State | New |
Headers | show |
Series | leds: cht-wcove: Remove unneeded semicolon | expand |
On Tue, 27 Jun 2023, baomingtong001@208suo.com wrote: > ./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon > > Signed-off-by: Mingtong Bao <baomingtong001@208suo.com> > --- > drivers/leds/leds-cht-wcove.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Already fixed I'm afraid: https://lore.kernel.org/all/20230531024020.106641-1-jiapeng.chong@linux.alibaba.com/ > 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.40.1 >
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;
./drivers/leds/leds-cht-wcove.c:193:2-3: Unneeded semicolon Signed-off-by: Mingtong Bao <baomingtong001@208suo.com> --- drivers/leds/leds-cht-wcove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) }