[PATCH -next] md: Remove unneeded semicolon

Yang Li posted 1 patch 1 year, 6 months ago
drivers/md/md.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] md: Remove unneeded semicolon
Posted by Yang Li 1 year, 6 months ago
./drivers/md/md.c:630:21-22: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9344
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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 cf510a68705f..ece807b3f854 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -627,7 +627,7 @@ static void md_submit_flush_data(struct work_struct *ws)
 		 * always is 0, make_request() will not be called here.
 		 */
 		if (WARN_ON_ONCE(!mddev->pers->make_request(mddev, bio)))
-			bio_io_error(bio);;
+			bio_io_error(bio);
 	}
 
 	/* The pair is percpu_ref_get() from md_flush_request() */
-- 
2.20.1.7.g153144c
Re: [PATCH -next] md: Remove unneeded semicolon
Posted by Song Liu 1 year, 5 months ago
On Tue, Jun 18, 2024 at 9:08 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> ./drivers/md/md.c:630:21-22: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9344
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Applied to md-6.11. Thanks!

Song