diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-17 11:29:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-16 20:52:14 -0700 |
commit | a762a9d94d44980e3690f9de87b918376daa6428 (patch) | |
tree | f83e1ca0a9068235f49993bdf77811038cdafa3a /include/net | |
parent | b02db702face3791889a4fcf06691c086648ee89 (diff) | |
download | linux-a762a9d94d44980e3690f9de87b918376daa6428.tar.bz2 |
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/net')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index f22c079fd1f1..8042e6380b0e 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1557,7 +1557,7 @@ struct sctp_association { * cookie and these are just pointers to those locations */ struct sctp_random_param *peer_random; - sctp_chunks_param_t *peer_chunks; + struct sctp_chunks_param *peer_chunks; sctp_hmac_algo_param_t *peer_hmacs; } peer; |