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>
这个提交包含在:
Xin Long
2017-07-17 11:29:59 +08:00
提交者 David S. Miller
父节点 a762a9d94d
当前提交 1474774a7f
修改 4 个文件,包含 7 行新增7 行删除

查看文件

@@ -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