sctp: remove macros sctp_{lock|release}_sock
Redefined {lock|release}_sock to sctp_{lock|release}_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:

committed by
David S. Miller

parent
1b0de194f1
commit
048ed4b626
@@ -171,8 +171,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
|
||||
*/
|
||||
|
||||
/* sock lock wrappers. */
|
||||
#define sctp_lock_sock(sk) lock_sock(sk)
|
||||
#define sctp_release_sock(sk) release_sock(sk)
|
||||
#define sctp_bh_lock_sock(sk) bh_lock_sock(sk)
|
||||
#define sctp_bh_unlock_sock(sk) bh_unlock_sock(sk)
|
||||
|
||||
|
Reference in New Issue
Block a user