* [PATCH] bio: remove unused macro bip_vec_idx()
@ 2014-06-24 10:10 Gu Zheng
2014-06-24 22:15 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Gu Zheng @ 2014-06-24 10:10 UTC (permalink / raw)
To: linux-kernel; +Cc: Jens, Kent, Andrew Morton
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>
---
include/linux/bio.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 5a64576..f91decb 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)
--
1.7.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bio: remove unused macro bip_vec_idx()
2014-06-24 10:10 [PATCH] bio: remove unused macro bip_vec_idx() Gu Zheng
@ 2014-06-24 22:15 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-06-24 22:15 UTC (permalink / raw)
To: Gu Zheng, linux-kernel; +Cc: Kent, Andrew Morton
On 06/24/2014 04:10 AM, Gu Zheng wrote:
> Macro bip_vec_idx() was used by bio integrity originally, but no longer
> used now. So remove it.
Thanks, applied.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-24 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 10:10 [PATCH] bio: remove unused macro bip_vec_idx() Gu Zheng
2014-06-24 22:15 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox