summaryrefslogtreecommitdiffstats
path: root/net/sctp/endpointola.c
diff options
context:
space:
mode:
authorXin Long2017-08-05 13:59:59 +0200
committerDavid S. Miller2017-08-07 06:33:42 +0200
commit5210601945f5aedaf2d7f13a88436e27a39c6a8a (patch)
tree0b196af33c9451344db77f832dbc4d26188e10e5 /net/sctp/endpointola.c
parentsctp: remove the typedef sctp_ierror_t (diff)
downloadkernel-qcow2-linux-5210601945f5aedaf2d7f13a88436e27a39c6a8a.tar.gz
kernel-qcow2-linux-5210601945f5aedaf2d7f13a88436e27a39c6a8a.tar.xz
kernel-qcow2-linux-5210601945f5aedaf2d7f13a88436e27a39c6a8a.zip
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>
Diffstat (limited to 'net/sctp/endpointola.c')
-rw-r--r--net/sctp/endpointola.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c
index 3d506b2f6193..4111c00a9d9d 100644
--- a/net/sctp/endpointola.c
+++ b/net/sctp/endpointola.c
@@ -383,7 +383,7 @@ static void sctp_endpoint_bh_rcv(struct work_struct *work)
struct sctp_chunk *chunk;
struct sctp_inq *inqueue;
sctp_subtype_t subtype;
- sctp_state_t state;
+ enum sctp_state state;
int error = 0;
int first_time = 1; /* is this the first time through the loop */