Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a4b0eda authored by Gu Zheng's avatar Gu Zheng Committed by Jens Axboe
Browse files

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: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent e567bf71
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)