[PATCH] block: remove redundant semicolon

Nian Yanchuan posted 1 patch 4 years, 3 months ago
block/bdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] block: remove redundant semicolon
Posted by Nian Yanchuan 4 years, 3 months ago
Remove redundant semicolon from block/bdev.c

Signed-off-by: Nian Yanchuan <yanchuan@nfschina.com>
---
 block/bdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/bdev.c b/block/bdev.c
index 102837a37051..4faaf4d8f890 100644
--- a/block/bdev.c
+++ b/block/bdev.c
@@ -678,7 +678,7 @@ static int blkdev_get_whole(struct block_device *bdev, fmode_t mode)
 	if (test_bit(GD_NEED_PART_SCAN, &disk->state))
 		bdev_disk_changed(disk, false);
 	bdev->bd_openers++;
-	return 0;;
+	return 0;
 }
 
 static void blkdev_put_whole(struct block_device *bdev, fmode_t mode)
-- 
2.18.2
Re: [PATCH] block: remove redundant semicolon
Posted by Jens Axboe 4 years, 3 months ago
On Mon, 28 Feb 2022 01:01:24 +0800, Nian Yanchuan wrote:
> Remove redundant semicolon from block/bdev.c
> 
> 

Applied, thanks!

[1/1] block: remove redundant semicolon
      commit: 483546c11d702fd6f74c8c3f8123b7672def10b2

Best regards,
-- 
Jens Axboe