aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 07:59:57 -0400
committerDavid S. Miller <davem@davemloft.net>2017-08-07 00:33:42 -0400
commit86b36f2a9b9ea58dd2100b0e6f1f45a1f67ee95e (patch)
tree6411f34156d0f75d6001a8d233b9ba9128ac726a /net/sctp/outqueue.c
parent8496561430df6e2c21b4ed37bd93604d3acaf5d6 (diff)
sctp: remove the typedef sctp_xmit_t
This patch is to remove the typedef sctp_xmit_t, and replace with enum sctp_xmit 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/outqueue.c')
-rw-r--r--net/sctp/outqueue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index 08ee0ed9a0c6..2966ff400755 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -594,14 +594,14 @@ void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,
594static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt, 594static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt,
595 int rtx_timeout, int *start_timer) 595 int rtx_timeout, int *start_timer)
596{ 596{
597 struct list_head *lqueue;
598 struct sctp_transport *transport = pkt->transport; 597 struct sctp_transport *transport = pkt->transport;
599 sctp_xmit_t status;
600 struct sctp_chunk *chunk, *chunk1; 598 struct sctp_chunk *chunk, *chunk1;
601 int fast_rtx; 599 struct list_head *lqueue;
600 enum sctp_xmit status;
602 int error = 0; 601 int error = 0;
603 int timer = 0; 602 int timer = 0;
604 int done = 0; 603 int done = 0;
604 int fast_rtx;
605 605
606 lqueue = &q->retransmit; 606 lqueue = &q->retransmit;
607 fast_rtx = q->fast_rtx; 607 fast_rtx = q->fast_rtx;
@@ -781,7 +781,7 @@ static void sctp_outq_flush(struct sctp_outq *q, int rtx_timeout, gfp_t gfp)
781 struct sctp_transport *transport = NULL; 781 struct sctp_transport *transport = NULL;
782 struct sctp_transport *new_transport; 782 struct sctp_transport *new_transport;
783 struct sctp_chunk *chunk, *tmp; 783 struct sctp_chunk *chunk, *tmp;
784 sctp_xmit_t status; 784 enum sctp_xmit status;
785 int error = 0; 785 int error = 0;
786 int start_timer = 0; 786 int start_timer = 0;
787 int one_packet = 0; 787 int one_packet = 0;