aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/primitive.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 20:00:03 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-06 21:33:42 -0700
commit61f0eb072294a148f707335d4d7f858b2af73770 (patch)
tree60607bb7a36c73e809634de8e29a67da7023bf63 /net/sctp/primitive.c
parentsctp: remove the typedef sctp_event_timeout_t (diff)
downloadlinux-dev-61f0eb072294a148f707335d4d7f858b2af73770.tar.xz
linux-dev-61f0eb072294a148f707335d4d7f858b2af73770.zip
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 'net/sctp/primitive.c')
-rw-r--r--net/sctp/primitive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/primitive.c b/net/sctp/primitive.c
index 1fb5b9bb3c6d..c914166984b3 100644
--- a/net/sctp/primitive.c
+++ b/net/sctp/primitive.c
@@ -53,7 +53,7 @@
int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
void *arg) { \
int error = 0; \
- sctp_event_t event_type; sctp_subtype_t subtype; \
+ enum sctp_event event_type; sctp_subtype_t subtype; \
enum sctp_state state; \
struct sctp_endpoint *ep; \
\