linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block: remove redundant semicolon
@ 2022-02-27 17:01 Nian Yanchuan
  2022-02-27 21:52 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Nian Yanchuan @ 2022-02-27 17:01 UTC (permalink / raw)
  To: axboe; +Cc: linux-block, linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: remove redundant semicolon
  2022-02-27 17:01 [PATCH] block: remove redundant semicolon Nian Yanchuan
@ 2022-02-27 21:52 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2022-02-27 21:52 UTC (permalink / raw)
  To: Nian Yanchuan; +Cc: linux-block, linux-kernel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-27 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-27 17:01 [PATCH] block: remove redundant semicolon Nian Yanchuan
2022-02-27 21:52 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).