Commit 6e74468d authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

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: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 629819c7
...@@ -100,10 +100,6 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount) ...@@ -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_node hlist_node
#define ll_d_hlist_empty(list) hlist_empty(list) #define ll_d_hlist_empty(list) hlist_empty(list)
#define ll_d_hlist_entry(ptr, type, name) hlist_entry(ptr.first, type, name) #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) ...@@ -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) 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_init(pv, cold) do {} while (0)
#define ll_pagevec_add(pv, pg) (0) #define ll_pagevec_add(pv, pg) (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment