projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e567bf7
)
bio: remove unused macro bip_vec_idx()
author
Gu Zheng
<guz.fnst@cn.fujitsu.com>
Tue, 24 Jun 2014 10:10:26 +0000
(18:10 +0800)
committer
Jens Axboe
<axboe@fb.com>
Tue, 24 Jun 2014 22:15:25 +0000
(16:15 -0600)
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>
include/linux/bio.h
patch
|
blob
|
history
diff --git
a/include/linux/bio.h
b/include/linux/bio.h
index 5a645769f020f956415c1fac11ac868a1922f161..f91decbca96b87b519e15897e516f993e774c362 100644
(file)
--- 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)