summaryrefslogtreecommitdiff
path: root/include/net/sctp/constants.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 19:59:57 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-06 21:33:42 -0700
commit86b36f2a9b9ea58dd2100b0e6f1f45a1f67ee95e (patch)
tree6411f34156d0f75d6001a8d233b9ba9128ac726a /include/net/sctp/constants.h
parent8496561430df6e2c21b4ed37bd93604d3acaf5d6 (diff)
sctp: remove the typedef sctp_xmit_t
This patch is to remove the typedef sctp_xmit_t, and replace with enum sctp_xmit 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 049868ea7ae9..311b2e3773e8 100644
--- a/include/net/sctp/constants.h
+++ b/include/net/sctp/constants.h
@@ -312,12 +312,12 @@ enum { SCTP_MAX_GABS = 16 };
/* These return values describe the success or failure of a number of
* routines which form the lower interface to SCTP_outqueue.
*/
-typedef enum {
+enum sctp_xmit {
SCTP_XMIT_OK,
SCTP_XMIT_PMTU_FULL,
SCTP_XMIT_RWND_FULL,
SCTP_XMIT_DELAY,
-} sctp_xmit_t;
+};
/* These are the commands for manipulating transports. */
enum sctp_transport_cmd {