summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-06-24 12:10:26 +0200
committerJens Axboe <axboe@fb.com>2014-06-25 00:15:25 +0200
commit3a4b0eda8e4b27e6aca86f9f4d327c1070815e30 (patch)
tree9a042d309c4bf9159be42bccc86741130eec228a /include
parentRevert "block: add __init to elv_register" (diff)
downloadlinux-3a4b0eda8e4b27e6aca86f9f4d327c1070815e30.tar.xz
linux-3a4b0eda8e4b27e6aca86f9f4d327c1070815e30.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/bio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 5a645769f020..f91decbca96b 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -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)