sctp: remove the typedef sctp_auth_chunk_t

This patch is to remove the typedef sctp_auth_chunk_t, and
replace with struct sctp_auth_chunk 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>
This commit is contained in:
Xin Long
2017-08-03 15:42:22 +08:00
committed by David S. Miller
parent 96f7ef4d58
commit bb96dec745
3 changed files with 8 additions and 7 deletions

View File

@@ -699,10 +699,10 @@ struct sctp_authhdr {
__u8 hmac[0];
};
typedef struct sctp_auth_chunk {
struct sctp_auth_chunk {
struct sctp_chunkhdr chunk_hdr;
struct sctp_authhdr auth_hdr;
} sctp_auth_chunk_t;
};
struct sctp_infox {
struct sctp_info *sctpinfo;