summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNian Yanchuan <yanchuan@nfschina.com>2022-02-28 01:01:24 +0800
committerJens Axboe <axboe@kernel.dk>2022-02-27 14:52:36 -0700
commit483546c11d702fd6f74c8c3f8123b7672def10b2 (patch)
tree937d87fff66d5bc0b7d24b7f2db3fe6575f09c3e
parent451f0b6f4c44d7b649ae609157b114b71f6d7875 (diff)
block: remove redundant semicolon
Remove redundant semicolon from block/bdev.c Signed-off-by: Nian Yanchuan <yanchuan@nfschina.com> Link: https://lore.kernel.org/r/20220227170124.GA14658@localhost.localdomain Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/bdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bdev.c b/block/bdev.c
index a3632317c8aa..ce8de42a89be 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)