summary refs log tree commit diff
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-07-22 08:27:55 +0800
committerJens Axboe <axboe@kernel.dk>2022-08-02 17:22:46 -0600
commitc0250d16b22e6c1cf074720b386280c03eebff87 (patch)
tree1e7816a7eb7114370839147c014693da7e2236fb
parentd13bc4d84a8e91060d3797fc95c1a0202bfd1499 (diff)
downloadlinux-c0250d16b22e6c1cf074720b386280c03eebff87.tar.gz
md: remove unneeded semicolon
Eliminate the following coccicheck warning:
./drivers/md/md.c:8208:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reported-by:  kernel test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 673a39042208..2b2267be5c32 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)