diff options
author | Xin Long | 2017-06-30 05:52:15 +0200 |
---|---|---|
committer | David S. Miller | 2017-07-01 18:08:41 +0200 |
commit | ec431c2cd55c4122e729b7dc45956653a038614b (patch) | |
tree | ee02d81ec4958f13fb5055f4518f5f3cf174286a /include/linux/sctp.h | |
parent | sctp: remove the typedef sctp_cid_t (diff) | |
download | kernel-qcow2-linux-ec431c2cd55c4122e729b7dc45956653a038614b.tar.gz kernel-qcow2-linux-ec431c2cd55c4122e729b7dc45956653a038614b.tar.xz kernel-qcow2-linux-ec431c2cd55c4122e729b7dc45956653a038614b.zip |
sctp: remove the typedef sctp_cid_action_t
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>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r-- | include/linux/sctp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 6d7b8846c607..ffdccb4da7e5 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -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, }; |