diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-17 11:29:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-16 20:52:14 -0700 |
commit | 1474774a7f0daf9878fd9537a24714f419e744ed (patch) | |
tree | 3215c98a830a64e0bfcc6d37408f9336e7d4a1bb /include/net/sctp | |
parent | a762a9d94d44980e3690f9de87b918376daa6428 (diff) | |
download | linux-1474774a7f0daf9878fd9537a24714f419e744ed.tar.gz linux-1474774a7f0daf9878fd9537a24714f419e744ed.tar.bz2 linux-1474774a7f0daf9878fd9537a24714f419e744ed.zip |
sctp: remove the typedef sctp_hmac_algo_param_t
This patch is to remove the typedef sctp_hmac_algo_param_t, and
replace with struct sctp_hmac_algo_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/sctp')
-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 8042e6380b0e..66cd7639b912 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1558,7 +1558,7 @@ struct sctp_association { */ struct sctp_random_param *peer_random; struct sctp_chunks_param *peer_chunks; - sctp_hmac_algo_param_t *peer_hmacs; + struct sctp_hmac_algo_param *peer_hmacs; } peer; /* State : A state variable indicating what state the |