[PATCH 1/6] block: remove a dead return statement in blk_zone_plug_bio

Christoph Hellwig <[email protected]> Thu, 16 Jul 2026 11:17:47 +0200
Newsgroups org.kernel.vger.io-uring,org.kernel.vger.linux-block
Message-ID <[email protected]>
The switch at the end of blk_zone_plug_bio always returns, so remove
the dead extra return statement after it.

Signed-off-by: Christoph Hellwig <[email protected]>
---
 block/blk-zoned.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/block/blk-zoned.c b/block/blk-zoned.c
index ca30caec838e..034af9dfb5f9 100644
--- a/block/blk-zoned.c
+++ b/block/blk-zoned.c
@@ -1651,8 +1651,6 @@ bool blk_zone_plug_bio(struct bio *bio, unsigned int nr_segs)
 	default:
 		return false;
 	}
-
-	return false;
 }
 EXPORT_SYMBOL_GPL(blk_zone_plug_bio);
 
-- 
2.53.0