diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-05 19:59:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-06 21:33:42 -0700 |
commit | 86b36f2a9b9ea58dd2100b0e6f1f45a1f67ee95e (patch) | |
tree | 6411f34156d0f75d6001a8d233b9ba9128ac726a /net/sctp/outqueue.c | |
parent | 8496561430df6e2c21b4ed37bd93604d3acaf5d6 (diff) | |
download | linux-stable-86b36f2a9b9ea58dd2100b0e6f1f45a1f67ee95e.tar.gz linux-stable-86b36f2a9b9ea58dd2100b0e6f1f45a1f67ee95e.tar.bz2 linux-stable-86b36f2a9b9ea58dd2100b0e6f1f45a1f67ee95e.zip |
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.c | 8 |
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, static int sctp_outq_flush_rtx(struct sctp_outq *q, struct sctp_packet *pkt, int rtx_timeout, int *start_timer) { - struct list_head *lqueue; struct sctp_transport *transport = pkt->transport; - sctp_xmit_t status; struct sctp_chunk *chunk, *chunk1; - int fast_rtx; + struct list_head *lqueue; + enum sctp_xmit status; int error = 0; int timer = 0; int done = 0; + int fast_rtx; lqueue = &q->retransmit; fast_rtx = q->fast_rtx; @@ -781,7 +781,7 @@ static void sctp_outq_flush(struct sctp_outq *q, int rtx_timeout, gfp_t gfp) struct sctp_transport *transport = NULL; struct sctp_transport *new_transport; struct sctp_chunk *chunk, *tmp; - sctp_xmit_t status; + enum sctp_xmit status; int error = 0; int start_timer = 0; int one_packet = 0; |