aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-07-30 18:27:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-31 16:01:42 -0700
commit6e74468da6965ca473a46a83f88e89c88d9811cc (patch)
treea1234695192b5416fdae196708f4ee7486b29dfc /drivers/staging/lustre/lustre
parentstaging/lustre: Drop SLAB_DESTROY_BY_RCU redefine, it's always defined (diff)
downloadlinux-dev-6e74468da6965ca473a46a83f88e89c88d9811cc.tar.xz
linux-dev-6e74468da6965ca473a46a83f88e89c88d9811cc.zip
staging/lustre: remove *hw_segments compat defines
queue_max_phys_segments, queue_max_hw_segments and bio_hw_segments are not used anywhere in the client code, so remove them Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/lustre_compat25.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
index 38eda2391182..d0e8f3c813a1 100644
--- a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
+++ b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
@@ -100,10 +100,6 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
-#define queue_max_phys_segments(rq) queue_max_segments(rq)
-#define queue_max_hw_segments(rq) queue_max_segments(rq)
-
-
#define ll_d_hlist_node hlist_node
#define ll_d_hlist_empty(list) hlist_empty(list)
#define ll_d_hlist_entry(ptr, type, name) hlist_entry(ptr.first, type, name)
@@ -112,8 +108,6 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
p = NULL; hlist_for_each_entry(dentry, i_dentry, alias)
-#define bio_hw_segments(q, bio) 0
-
#define ll_pagevec_init(pv, cold) do {} while (0)
#define ll_pagevec_add(pv, pg) (0)