summaryrefslogtreecommitdiffstats
path: root/net/sctp/transport.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 13:59:51 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-07 06:33:41 +0200
commit233e7936c84b7d7dd90c10e2ba27abb5ab42956f (patch)
treed08e038278fbf4e615b7f55c91bcce25ddd51a90 /net/sctp/transport.c
parentdt-bindings: net: Document bindings for anarion-gmac (diff)
downloadlinux-233e7936c84b7d7dd90c10e2ba27abb5ab42956f.tar.xz
linux-233e7936c84b7d7dd90c10e2ba27abb5ab42956f.zip
sctp: remove the typedef sctp_lower_cwnd_t
This patch is to remove the typedef sctp_lower_cwnd_t, and replace with enum sctp_lower_cwnd 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/transport.c')
-rw-r--r--net/sctp/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c
index 80a97c8501a7..2d9bd3776bc8 100644
--- a/net/sctp/transport.c
+++ b/net/sctp/transport.c
@@ -490,7 +490,7 @@ void sctp_transport_raise_cwnd(struct sctp_transport *transport,
* detected.
*/
void sctp_transport_lower_cwnd(struct sctp_transport *transport,
- sctp_lower_cwnd_t reason)
+ enum sctp_lower_cwnd reason)
{
struct sctp_association *asoc = transport->asoc;