From: Xin Long Date: Fri, 30 Jun 2017 03:52:18 +0000 (+0800) Subject: sctp: remove the typedef sctp_param_action_t X-Git-Tag: MMI-PSA29.97-13-9~5285^2~46^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0664ed4378907c936fbee811efe95650d32baf34;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git sctp: remove the typedef sctp_param_action_t Remove this typedef, there is even no places using it. Signed-off-by: Xin Long Signed-off-by: David S. Miller --- 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), };