diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-17 11:29:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-16 20:52:14 -0700 |
commit | 15328d9feede450d64ff77cac5d25bc734ec8b27 (patch) | |
tree | d12ad74962c0f63039d4e6ca84ba907a28f8dee0 /include | |
parent | 85f6bd24ac579ef0926eb4c564ba1f3c8a7f8563 (diff) | |
download | linux-stable-15328d9feede450d64ff77cac5d25bc734ec8b27.tar.gz linux-stable-15328d9feede450d64ff77cac5d25bc734ec8b27.tar.bz2 linux-stable-15328d9feede450d64ff77cac5d25bc734ec8b27.zip |
sctp: remove the typedef sctp_supported_ext_param_t
This patch is to remove the typedef sctp_supported_ext_param_t, and
replace with struct sctp_supported_ext_param in the places where it's
using this typedef.
It is also to use sizeof(variable) instead of sizeof(type).
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 72b87874ea76..76245685f923 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -309,10 +309,10 @@ struct sctp_adaptation_ind_param { }; /* ADDIP Section 4.2.7 Supported Extensions Parameter */ -typedef struct sctp_supported_ext_param { +struct sctp_supported_ext_param { struct sctp_paramhdr param_hdr; __u8 chunks[0]; -} sctp_supported_ext_param_t; +}; /* AUTH Section 3.1 Random */ typedef struct sctp_random_param { |