diff mbox series

[-next] md: Remove unneeded semicolon

Message ID 20240618010759.85416-1-yang.lee@linux.alibaba.com (mailing list archive)
State Accepted
Headers show
Series [-next] md: Remove unneeded semicolon | expand

Checks

Context Check Description
mdraidci/vmtest-md-6_11-PR success PR summary
mdraidci/vmtest-md-6_11-VM_Test-0 success Logs for build-kernel

Commit Message

Yang Li June 18, 2024, 1:07 a.m. UTC
./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(-)

Comments

Song Liu July 4, 2024, 7:07 a.m. UTC | #1
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
diff mbox series

Patch

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() */