summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statetable.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/sm_statetable.c
parent19cd1592a24754e16d48398812d5f69b63f674dd (diff)
downloadlinux-61f0eb072294a148f707335d4d7f858b2af73770.tar.gz
linux-61f0eb072294a148f707335d4d7f858b2af73770.tar.bz2
linux-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/sm_statetable.c')
-rw-r--r--net/sctp/sm_statetable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_statetable.c b/net/sctp/sm_statetable.c
index f46c11bffea7..f7cdb7014244 100644
--- a/net/sctp/sm_statetable.c
+++ b/net/sctp/sm_statetable.c
@@ -78,7 +78,7 @@ static const sctp_sm_table_entry_t bug = {
})
const sctp_sm_table_entry_t *sctp_sm_lookup_event(struct net *net,
- sctp_event_t event_type,
+ enum sctp_event event_type,
enum sctp_state state,
sctp_subtype_t event_subtype)
{