diff mbox series

block: remove unused BIO_SPLIT_ENTRIES

Message ID 20201125065817.34148-1-jefflexu@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series block: remove unused BIO_SPLIT_ENTRIES | expand

Commit Message

JeffleXu Nov. 25, 2020, 6:58 a.m. UTC
Since commit 4b1faf931650 ("block: Kill bio_pair_split()"), there's
no user of BIO_SPLIT_ENTRIES anymore.

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
---
 include/linux/bio.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Jens Axboe Nov. 25, 2020, 6:12 p.m. UTC | #1
On 11/24/20 11:58 PM, Jeffle Xu wrote:
> Since commit 4b1faf931650 ("block: Kill bio_pair_split()"), there's
> no user of BIO_SPLIT_ENTRIES anymore.

Applied, thanks.
diff mbox series

Patch

diff --git a/include/linux/bio.h b/include/linux/bio.h
index c6d765382926..ecf67108f091 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -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)				\