diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-17 06:29:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 06:52:14 +0300 |
commit | 15328d9feede450d64ff77cac5d25bc734ec8b27 (patch) | |
tree | d12ad74962c0f63039d4e6ca84ba907a28f8dee0 /include/linux | |
parent | 85f6bd24ac579ef0926eb4c564ba1f3c8a7f8563 (diff) | |
download | linux-15328d9feede450d64ff77cac5d25bc734ec8b27.tar.xz |
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/linux')
-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 { |