Skip to contentSkip to conversation

block: remove redundant semicolon

PATCH Applied Nian Yanchuan 2 participants 2 messages Feb 27, 2022 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove redundant semicolon

Remove redundant semicolon from block/bdev.c

---
 block/bdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/bdev.c +1 -1
index 102837a37051..4faaf4d8f890 100644
@@ -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)
Signature · 1 line
2.18.2
maintainer Applied
#1 lore raw
Quoted 3 lines · Nian Yanchuan

Remove redundant semicolon from block/bdev.c

Applied, thanks!

[1/1] block: remove redundant semicolon

      commit: 483546c11d702fd6f74c8c3f8123b7672def10b2

Best regards,

Signature · 1 line
Jens Axboe