diff options
author | wangweidong <wangweidong1@huawei.com> | 2014-01-21 02:44:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-21 21:40:41 -0500 |
commit | 1b0de194f11450d1c1e164bf2826fe80a38e1f62 (patch) | |
tree | 0a88902e64eae40ed8b74293d8d1ed31b2d32cd5 /include/net | |
parent | 387602dfdc3332f786f6195c74d53f9e8f7af402 (diff) |
sctp: remove macros sctp_read_[un]lock
Redefined read_[un]lock to sctp_read_[un]lock for user space
friendly code which we haven't use in years, and the macros
we never used, 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')
-rw-r--r-- | include/net/sctp/sctp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 73dcc0c82749..572cd5a5292a 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -170,10 +170,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly; | |||
170 | * Section: Macros, externs, and inlines | 170 | * Section: Macros, externs, and inlines |
171 | */ | 171 | */ |
172 | 172 | ||
173 | /* spin lock wrappers. */ | ||
174 | #define sctp_read_lock(lock) read_lock(lock) | ||
175 | #define sctp_read_unlock(lock) read_unlock(lock) | ||
176 | |||
177 | /* sock lock wrappers. */ | 173 | /* sock lock wrappers. */ |
178 | #define sctp_lock_sock(sk) lock_sock(sk) | 174 | #define sctp_lock_sock(sk) lock_sock(sk) |
179 | #define sctp_release_sock(sk) release_sock(sk) | 175 | #define sctp_release_sock(sk) release_sock(sk) |