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>
This commit is contained in:
committed by
David S. Miller
parent
4785c7ae18
commit
5210601945
@@ -126,7 +126,7 @@ typedef union {
|
||||
__u8 u8;
|
||||
int error;
|
||||
__be16 err;
|
||||
sctp_state_t state;
|
||||
enum sctp_state state;
|
||||
sctp_event_timeout_t to;
|
||||
struct sctp_chunk *chunk;
|
||||
struct sctp_association *asoc;
|
||||
@@ -167,7 +167,7 @@ SCTP_ARG_CONSTRUCTOR(U16, __u16, u16)
|
||||
SCTP_ARG_CONSTRUCTOR(U8, __u8, u8)
|
||||
SCTP_ARG_CONSTRUCTOR(ERROR, int, error)
|
||||
SCTP_ARG_CONSTRUCTOR(PERR, __be16, err) /* protocol error */
|
||||
SCTP_ARG_CONSTRUCTOR(STATE, sctp_state_t, state)
|
||||
SCTP_ARG_CONSTRUCTOR(STATE, enum sctp_state, state)
|
||||
SCTP_ARG_CONSTRUCTOR(TO, sctp_event_timeout_t, to)
|
||||
SCTP_ARG_CONSTRUCTOR(CHUNK, struct sctp_chunk *, chunk)
|
||||
SCTP_ARG_CONSTRUCTOR(ASOC, struct sctp_association *, asoc)
|
||||
|
||||
Reference in New Issue
Block a user