diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-06-30 11:52:18 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-01 09:08:41 -0700 |
commit | 0664ed4378907c936fbee811efe95650d32baf34 (patch) | |
tree | 2a3c81ea43dd501ceff4c73b16470965d5986519 /include/linux/sctp.h | |
parent | 34b4e29b383559e3848eea30af66e94aa72af88c (diff) | |
download | lwn-0664ed4378907c936fbee811efe95650d32baf34.tar.gz lwn-0664ed4378907c936fbee811efe95650d32baf34.zip |
sctp: remove the typedef sctp_param_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 5eecc0f14650..d5c0ddadb68b 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -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), }; |