aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sctp.h
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2014-01-21 02:44:07 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-21 21:40:40 -0500
commit79b91130a2679ea5063d49c021d97346a09eb0a5 (patch)
treec529035c6a148ea9c407326f0ba5d29b9ab69e7d /include/net/sctp/sctp.h
parent940287ee10e270b78fbda6c44eaa1def5fde897d (diff)
sctp: remove macros sctp_local_bh_{disable|enable}
Redefined local_bh_{disable|enable} to sctp_local_bh_{disable|enable} for user space friendly code which we haven't use in years, so removing them. Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r--include/net/sctp/sctp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index b180a8fb68c5..c17121afe182 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -171,8 +171,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
171 */ 171 */
172 172
173/* spin lock wrappers. */ 173/* spin lock wrappers. */
174#define sctp_local_bh_disable() local_bh_disable()
175#define sctp_local_bh_enable() local_bh_enable()
176#define sctp_spin_lock(lock) spin_lock(lock) 174#define sctp_spin_lock(lock) spin_lock(lock)
177#define sctp_spin_unlock(lock) spin_unlock(lock) 175#define sctp_spin_unlock(lock) spin_unlock(lock)
178#define sctp_write_lock(lock) write_lock(lock) 176#define sctp_write_lock(lock) write_lock(lock)