diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-17 11:29:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-16 20:52:14 -0700 |
commit | e925d506f1a21f7fd24a8fdd3e73e0810c655de4 (patch) | |
tree | 68fc564720830be48ce289a9f8c8fcb67ebec214 /include/linux/sctp.h | |
parent | df9af0063f154c1a4f22a5570749d185d080cf56 (diff) | |
download | lwn-e925d506f1a21f7fd24a8fdd3e73e0810c655de4.tar.gz lwn-e925d506f1a21f7fd24a8fdd3e73e0810c655de4.zip |
sctp: remove the typedef sctp_supported_addrs_param_t
This patch is to remove the typedef sctp_supported_addrs_param_t, and
replace with struct sctp_supported_addrs_param in the places where it's
using this typedef.
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 c43e9067d41a..3ca3ab7302a6 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -297,10 +297,10 @@ struct sctp_hostname_param { }; /* Section 3.3.2.1 Supported Address Types (12) */ -typedef struct sctp_supported_addrs_param { +struct sctp_supported_addrs_param { struct sctp_paramhdr param_hdr; __be16 types[0]; -} sctp_supported_addrs_param_t; +}; /* Appendix A. ECN Capable (32768) */ typedef struct sctp_ecn_capable_param { |