Message ID | 20220723062512.2210253-1-hch@lst.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | md: remove a superfluous semicolon | expand |
On Fri, Jul 22, 2022 at 11:25 PM Christoph Hellwig <hch@lst.de> wrote: > > No use for a semicolon at the end of a loop block. > > Reporte-by: kernel test robot <lkp@intel.com> > Signed-off-by: Christoph Hellwig <hch@lst.de> This is a duplicate of https://lore.kernel.org/all/20220722002755.71703-1-yang.lee@linux.alibaba.com/t/ Added Christoph's signed-off-by and the reported-by to that commit. Thanks, Song > --- > drivers/md/md.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/md/md.c b/drivers/md/md.c > index 673a39042208c..2b2267be5c329 100644 > --- a/drivers/md/md.c > +++ b/drivers/md/md.c > @@ -8205,7 +8205,7 @@ static void *md_seq_next(struct seq_file *seq, void *v, loff_t *pos) > break; > mddev = next_mddev; > tmp = mddev->all_mddevs.next; > - }; > + } > spin_unlock(&all_mddevs_lock); > > if (to_put) > -- > 2.30.2 >
diff --git a/drivers/md/md.c b/drivers/md/md.c index 673a39042208c..2b2267be5c329 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -8205,7 +8205,7 @@ static void *md_seq_next(struct seq_file *seq, void *v, loff_t *pos) break; mddev = next_mddev; tmp = mddev->all_mddevs.next; - }; + } spin_unlock(&all_mddevs_lock); if (to_put)
No use for a semicolon at the end of a loop block. Reporte-by: kernel test robot <lkp@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)