Re: [PATCH] md: remove a superfluous semicolon
From: Song Liu <song@kernel.org>
Date: 2022-07-26 04:55:52
On Fri, Jul 22, 2022 at 11:25 PM Christoph Hellwig [off-list ref] wrote:
No use for a semicolon at the end of a loop block. Reporte-by: kernel test robot [off-list ref] 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/ (local) Added Christoph's signed-off-by and the reported-by to that commit. Thanks, Song
quoted hunk ↗ jump to hunk
--- 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