aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/constants.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 19:59:52 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-06 21:33:41 -0700
commit125c29820252bfa5bf8081e75618e4ee7e9487da (patch)
tree83f2af92634ffaab1da565a9eeb177ec656d0879 /include/net/sctp/constants.h
parentsctp: remove the typedef sctp_lower_cwnd_t (diff)
downloadlinux-dev-125c29820252bfa5bf8081e75618e4ee7e9487da.tar.xz
linux-dev-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 'include/net/sctp/constants.h')
-rw-r--r--include/net/sctp/constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h
index 761064ee3ac5..922fba5880d6 100644
--- a/include/net/sctp/constants.h
+++ b/include/net/sctp/constants.h
@@ -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 {