sctp: remove the typedef sctp_param_action_t
authorXin Long <lucien.xin@gmail.com>
Fri, 30 Jun 2017 03:52:18 +0000 (11:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 16:08:41 +0000 (09:08 -0700)
Remove this typedef, there is even no places using it.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h

index 5eecc0f14650aa71cd713d0ae73a81621f59dc88..d5c0ddadb68b1df8cc201790a81a0b1e2de7475a 100644 (file)
@@ -216,12 +216,12 @@ enum sctp_param {
  *  not recognize the Parameter Type.
  *
  */
-typedef enum {
+enum {
        SCTP_PARAM_ACTION_DISCARD     = cpu_to_be16(0x0000),
        SCTP_PARAM_ACTION_DISCARD_ERR = cpu_to_be16(0x4000),
        SCTP_PARAM_ACTION_SKIP        = cpu_to_be16(0x8000),
        SCTP_PARAM_ACTION_SKIP_ERR    = cpu_to_be16(0xc000),
-} sctp_param_action_t;
+};
 
 enum { SCTP_PARAM_ACTION_MASK = cpu_to_be16(0xc000), };