From: Jeffle Xu Date: Wed, 25 Nov 2020 06:58:17 +0000 (+0800) Subject: block: remove unused BIO_SPLIT_ENTRIES X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=63653368c25ff0b1b1aaf045c97ea87bd8c16123;p=linux.git block: remove unused BIO_SPLIT_ENTRIES Since commit 4b1faf931650 ("block: Kill bio_pair_split()"), there's no user of BIO_SPLIT_ENTRIES anymore. Signed-off-by: Jeffle Xu Signed-off-by: Jens Axboe --- diff --git a/include/linux/bio.h b/include/linux/bio.h index c6d7653829264..ecf67108f091d 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) \