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:
committed by
David S. Miller
parent
96f7ef4d58
commit
bb96dec745
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user