sctp: remove macros sctp_write_[un]_lock
Redefined write_[un]lock to sctp_write_[un]lock 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
3c8e43ba9f
commit
387602dfdc
@@ -171,8 +171,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
|
||||
*/
|
||||
|
||||
/* spin lock wrappers. */
|
||||
#define sctp_write_lock(lock) write_lock(lock)
|
||||
#define sctp_write_unlock(lock) write_unlock(lock)
|
||||
#define sctp_read_lock(lock) read_lock(lock)
|
||||
#define sctp_read_unlock(lock) read_unlock(lock)
|
||||
|
||||
|
Reference in New Issue
Block a user