sctp: remove the typedef sctp_cid_action_t
authorXin Long <lucien.xin@gmail.com>
Fri, 30 Jun 2017 03:52:15 +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 6d7b884..ffdccb4 100644 (file)
@@ -117,12 +117,12 @@ enum sctp_cid {
  *  the action that must be taken if the processing endpoint does not
  *  recognize the Chunk Type.
  */
-typedef enum {
+enum {
        SCTP_CID_ACTION_DISCARD     = 0x00,
        SCTP_CID_ACTION_DISCARD_ERR = 0x40,
        SCTP_CID_ACTION_SKIP        = 0x80,
        SCTP_CID_ACTION_SKIP_ERR    = 0xc0,
-} sctp_cid_action_t;
+};
 
 enum { SCTP_CID_ACTION_MASK = 0xc0, };