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

Christoph Hellwig <[email protected]> Tue, 4 Aug 2026 05:50:17 -0700
Newsgroups org.kernel.vger.linux-block,org.kernel.vger.io-uring
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]>
Reviewed-by: Damien Le Moal <[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