diff options
author | 2017-07-17 11:29:58 +0800 | |
---|---|---|
committer | 2017-07-16 20:52:14 -0700 | |
commit | a762a9d94d44980e3690f9de87b918376daa6428 (patch) | |
tree | f83e1ca0a9068235f49993bdf77811038cdafa3a /include/linux/sctp.h | |
parent | sctp: remove the typedef sctp_random_param_t (diff) | |
download | linux-a762a9d94d44980e3690f9de87b918376daa6428.tar.gz linux-a762a9d94d44980e3690f9de87b918376daa6428.tar.bz2 linux-a762a9d94d44980e3690f9de87b918376daa6428.zip |
sctp: remove the typedef sctp_chunks_param_t
This patch is to remove the typedef sctp_chunks_param_t, and
replace with struct sctp_chunks_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/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 9b1aa3907c9e..b52def9bcfa1 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -321,10 +321,10 @@ struct sctp_random_param { }; /* AUTH Section 3.2 Chunk List */ -typedef struct sctp_chunks_param { +struct sctp_chunks_param { struct sctp_paramhdr param_hdr; __u8 chunks[0]; -} sctp_chunks_param_t; +}; /* AUTH Section 3.3 HMAC Algorithm */ typedef struct sctp_hmac_algo_param { |