block: remove unused BIO_SPLIT_ENTRIES
authorJeffle Xu <jefflexu@linux.alibaba.com>
Wed, 25 Nov 2020 06:58:17 +0000 (14:58 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Nov 2020 18:11:32 +0000 (11:11 -0700)
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio.h

index c6d765382926441c5945a9ab3970c8ac7aa38c70..ecf67108f091d768a676a8176b9e4d942eee2ba2 100644 (file)
@@ -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)                               \