mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
940287ee10
commit
79b91130a2
5 changed files with 26 additions and 28 deletions
|
@ -171,8 +171,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
|
|||
*/
|
||||
|
||||
/* spin lock wrappers. */
|
||||
#define sctp_local_bh_disable() local_bh_disable()
|
||||
#define sctp_local_bh_enable() local_bh_enable()
|
||||
#define sctp_spin_lock(lock) spin_lock(lock)
|
||||
#define sctp_spin_unlock(lock) spin_unlock(lock)
|
||||
#define sctp_write_lock(lock) write_lock(lock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue