1
0
Fork 0

bio: remove unused macro bip_vec_idx()

Macro bip_vec_idx() was used by bio integrity originally, but no longer
used now. So remove it.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
hifive-unleashed-5.1
Gu Zheng 2014-06-24 18:10:26 +08:00 committed by Jens Axboe
parent e567bf7112
commit 3a4b0eda8e
1 changed files with 0 additions and 4 deletions

View File

@ -644,10 +644,6 @@ struct biovec_slab {
#if defined(CONFIG_BLK_DEV_INTEGRITY)
#define bip_vec_idx(bip, idx) (&(bip->bip_vec[(idx)]))
#define bip_for_each_vec(bvl, bip, iter) \
for_each_bvec(bvl, (bip)->bip_vec, iter, (bip)->bip_iter)