diff options
author | wangweidong <wangweidong1@huawei.com> | 2014-01-21 02:44:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-21 21:41:36 -0500 |
commit | 048ed4b6266144fdee55089c9eef55b0c1d42ba1 (patch) | |
tree | bb02f9c12fc03990de37fb10683392fdf877a5bc /include | |
parent | 1b0de194f11450d1c1e164bf2826fe80a38e1f62 (diff) |
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>
Diffstat (limited to 'include')
-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 572cd5a5292a..ec18d306bad7 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; | |||
171 | */ | 171 | */ |
172 | 172 | ||
173 | /* sock lock wrappers. */ | 173 | /* sock lock wrappers. */ |
174 | #define sctp_lock_sock(sk) lock_sock(sk) | ||
175 | #define sctp_release_sock(sk) release_sock(sk) | ||
176 | #define sctp_bh_lock_sock(sk) bh_lock_sock(sk) | 174 | #define sctp_bh_lock_sock(sk) bh_lock_sock(sk) |
177 | #define sctp_bh_unlock_sock(sk) bh_unlock_sock(sk) | 175 | #define sctp_bh_unlock_sock(sk) bh_unlock_sock(sk) |
178 | 176 | ||