diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-05 15:00:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 07:33:42 +0300 |
commit | 61f0eb072294a148f707335d4d7f858b2af73770 (patch) | |
tree | 60607bb7a36c73e809634de8e29a67da7023bf63 /include/net/sctp/constants.h | |
parent | 19cd1592a24754e16d48398812d5f69b63f674dd (diff) | |
download | linux-61f0eb072294a148f707335d4d7f858b2af73770.tar.xz |
sctp: remove the typedef sctp_event_t
This patch is to remove the typedef sctp_event_t, and
replace with enum sctp_event 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/constants.h')
-rw-r--r-- | include/net/sctp/constants.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index fb931f07e83a..3181e0f95b60 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h @@ -71,14 +71,12 @@ enum { SCTP_DEFAULT_INSTREAMS = SCTP_MAX_STREAM }; SCTP_NUM_AUTH_CHUNK_TYPES) /* These are the different flavours of event. */ -typedef enum { - +enum sctp_event { SCTP_EVENT_T_CHUNK = 1, SCTP_EVENT_T_TIMEOUT, SCTP_EVENT_T_OTHER, SCTP_EVENT_T_PRIMITIVE - -} sctp_event_t; +}; /* As a convenience for the state machine, we append SCTP_EVENT_* and * SCTP_ULP_* to the list of possible chunks. |