diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-05 19:59:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-06 21:33:42 -0700 |
commit | 5210601945f5aedaf2d7f13a88436e27a39c6a8a (patch) | |
tree | 0b196af33c9451344db77f832dbc4d26188e10e5 /include/net/sctp/sctp.h | |
parent | 4785c7ae1848244da3435ba5269f6288c15975c7 (diff) | |
download | linux-5210601945f5aedaf2d7f13a88436e27a39c6a8a.tar.bz2 |
sctp: remove the typedef sctp_state_t
This patch is to remove the typedef sctp_state_t, and
replace with enum sctp_state in the places where it's
using this typedef.
Signed-off-by: Xin Long <lucien.xin@gmail.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, 1 insertions, 1 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 0022bc713434..24ff7931d38c 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h @@ -558,7 +558,7 @@ static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style) /* Is the association in this state? */ #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) static inline int __sctp_state(const struct sctp_association *asoc, - sctp_state_t state) + enum sctp_state state) { return asoc->state == state; } |