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

View file

@ -370,12 +370,12 @@ typedef enum {
peer */
/* Reasons to retransmit. */
typedef enum {
enum sctp_retransmit_reason {
SCTP_RTXR_T3_RTX,
SCTP_RTXR_FAST_RTX,
SCTP_RTXR_PMTUD,
SCTP_RTXR_T1_RTX,
} sctp_retransmit_reason_t;
};
/* Reasons to lower cwnd. */
enum sctp_lower_cwnd {