summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-11 05:23:54 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-11 20:02:44 +0300
commite08af95df1130883762b388a19bb150ae5d16c09 (patch)
tree8b4548cf1ebbfcf41de4453afd2ae9a0eebb1ac8 /net/sctp
parentc488b7704ed0eed18e11f9b685931558735f2a68 (diff)
downloadlinux-e08af95df1130883762b388a19bb150ae5d16c09.tar.xz
sctp: remove the typedef sctp_verb_t
This patch is to remove the typedef sctp_verb_t, and replace with enum sctp_verb 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')
-rw-r--r--net/sctp/sm_statefuns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c
index 3394c4d34ea4..adc1dde34bfe 100644
--- a/net/sctp/sm_statefuns.c
+++ b/net/sctp/sm_statefuns.c
@@ -6205,7 +6205,7 @@ static int sctp_eat_data(const struct sctp_association *asoc,
struct sctp_datahdr *data_hdr;
struct sctp_chunk *err;
size_t datalen;
- sctp_verb_t deliver;
+ enum sctp_verb deliver;
int tmp;
__u32 tsn;
struct sctp_tsnmap *map = (struct sctp_tsnmap *)&asoc->peer.tsn_map;