On Fri, 2018-06-15 at 19:59 +0200, Julia Lawall wrote: > From: kbuild test robot <fengguang...@intel.com> > > Remove unneeded semicolon. [] > +++ b/drivers/bus/96boards-mezzanines/96boards-secure96.c > @@ -223,7 +223,7 @@ out_unreg_leds: > platform_device_unregister(sec->leds_device); > for (i = 0; i < ARRAY_SIZE(ledinfos); i++) { > mezzanine_ls_put_gpiod(ls, sec->secure96_leds[i].gpiod); > - }; > + } > return ERR_PTR(ret); > } > EXPORT_SYMBOL_GPL(secure96_populate); > @@ -244,6 +244,6 @@ void secure96_depopulate(void *data) > platform_device_unregister(sec->leds_device); > for (i = 0; i < ARRAY_SIZE(ledinfos); i++) { > mezzanine_ls_put_gpiod(sec->ls, sec->secure96_leds[i].gpiod); > - }; > + } > } > EXPORT_SYMBOL_GPL(secure96_depopulate);
While these are clearly correct, perhaps it would be better to remove the braces too.