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>
This commit is contained in:
Xin Long
2017-08-05 19:59:51 +08:00
committed by David S. Miller
parent 1126f47084
commit 233e7936c8
3 changed files with 5 additions and 4 deletions

View File

@@ -378,12 +378,12 @@ typedef enum {
} sctp_retransmit_reason_t;
/* Reasons to lower cwnd. */
typedef enum {
enum sctp_lower_cwnd {
SCTP_LOWER_CWND_T3_RTX,
SCTP_LOWER_CWND_FAST_RTX,
SCTP_LOWER_CWND_ECNE,
SCTP_LOWER_CWND_INACTIVE,
} sctp_lower_cwnd_t;
};
/* SCTP-AUTH Necessary constants */