Skip to contentSkip to conversation

block: remove unused BIO_SPLIT_ENTRIES

PATCH Applied Jeffle Xu 2 participants 2 messages Nov 25, 2020 Block layer

lore
Share & tools
lore

Jeffle Xu

author
#0 lore raw

PATCH 1/1 block: remove unused BIO_SPLIT_ENTRIES

Since commit 4b1faf931650 ("block: Kill bio_pair_split()"), there's no user of BIO_SPLIT_ENTRIES anymore.

---
 include/linux/bio.h | 6 ------
 1 file changed, 6 deletions(-)
include/linux/bio.h +0 -6
index c6d765382926..ecf67108f091 100644
@@ -711,12 +711,6 @@ static inline bool bioset_initialized(struct bio_set *bs)
 	return bs->bio_slab != NULL;
 }
 
-/*
- * a small number of entries is fine, not going to be performance critical.
- * basically we just need to survive
- */
-#define BIO_SPLIT_ENTRIES 2
-
 #if defined(CONFIG_BLK_DEV_INTEGRITY)
 
 #define bip_for_each_vec(bvl, bip, iter)				\
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Jeffle Xu

Since commit 4b1faf931650 ("block: Kill bio_pair_split()"), there's no user of BIO_SPLIT_ENTRIES anymore.

Applied, thanks.

Signature · 1 line
Jens Axboe