Skip to content

Commit

Permalink
bio: remove unused macro bip_vec_idx()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gu Zheng authored and Jens Axboe committed Jun 24, 2014
1 parent e567bf7 commit 3a4b0ed
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/bio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3a4b0ed

Please sign in to comment.