mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
048ed4b626
commit
5bc1d1b4a2
5 changed files with 21 additions and 25 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue