diff options
author | wangweidong <wangweidong1@huawei.com> | 2014-01-21 11:44:09 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 06:40:41 +0400 |
commit | 387602dfdc3332f786f6195c74d53f9e8f7af402 (patch) | |
tree | a1e21742e54dbb08202e64e61c7ddd6976333f00 /include/net/sctp/sctp.h | |
parent | 3c8e43ba9fe93b2670decc119f82f072a8d2459f (diff) | |
download | linux-387602dfdc3332f786f6195c74d53f9e8f7af402.tar.xz |
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>
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r-- | include/net/sctp/sctp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 4f77e9811f9e..73dcc0c82749 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h @@ -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) |