summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 13:59:52 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-07 06:33:41 +0200
commit125c29820252bfa5bf8081e75618e4ee7e9487da (patch)
tree83f2af92634ffaab1da565a9eeb177ec656d0879 /net/sctp
parentsctp: remove the typedef sctp_lower_cwnd_t (diff)
downloadlinux-125c29820252bfa5bf8081e75618e4ee7e9487da.tar.xz
linux-125c29820252bfa5bf8081e75618e4ee7e9487da.zip
sctp: remove the typedef sctp_retransmit_reason_t
This patch is to remove the typedef sctp_retransmit_reason_t, and replace with enum sctp_retransmit_reason 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/outqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index d2a8adfd4a6f..08ee0ed9a0c6 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -534,7 +534,7 @@ void sctp_retransmit_mark(struct sctp_outq *q,
* one packet out.
*/
void sctp_retransmit(struct sctp_outq *q, struct sctp_transport *transport,
- sctp_retransmit_reason_t reason)
+ enum sctp_retransmit_reason reason)
{
struct net *net = sock_net(q->asoc->base.sk);