diff options
author | wangweidong <wangweidong1@huawei.com> | 2014-01-21 15:44:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-21 18:41:36 -0800 |
commit | 5bc1d1b4a261a865cbde65b1561748df5b9c724b (patch) | |
tree | 4920c464aba555430904d4b93936a72a391016c7 /include/net/sctp | |
parent | 048ed4b6266144fdee55089c9eef55b0c1d42ba1 (diff) | |
download | linux-5bc1d1b4a261a865cbde65b1561748df5b9c724b.tar.gz linux-5bc1d1b4a261a865cbde65b1561748df5b9c724b.tar.bz2 linux-5bc1d1b4a261a865cbde65b1561748df5b9c724b.zip |
sctp: remove macros sctp_bh_[un]lock_sock
Redefined bh_[un]lock_sock to sctp_bh[un]lock_sock 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')
-rw-r--r-- | include/net/sctp/sctp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index ec18d306bad7..a3353f45ef94 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h @@ -170,10 +170,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly; * Section: Macros, externs, and inlines */ -/* sock lock wrappers. */ -#define sctp_bh_lock_sock(sk) bh_lock_sock(sk) -#define sctp_bh_unlock_sock(sk) bh_unlock_sock(sk) - /* SCTP SNMP MIB stats handlers */ #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field) #define SCTP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->sctp.sctp_statistics, field) |