summaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-03 03:42:22 -0400
committerDavid S. Miller <davem@davemloft.net>2017-08-03 12:45:47 -0400
commitbb96dec74543bb3ceb4ac5caf39341dadb4cb559 (patch)
tree3b8c5621ac489ae3581151062c46f36960f195a7 /include/linux/sctp.h
parent96f7ef4d58100d7168e0c4d01a59fbd8589f5756 (diff)
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>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r--include/linux/sctp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index b7603f5efebe..82b171e1aa0b 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -699,10 +699,10 @@ struct sctp_authhdr {
699 __u8 hmac[0]; 699 __u8 hmac[0];
700}; 700};
701 701
702typedef struct sctp_auth_chunk { 702struct sctp_auth_chunk {
703 struct sctp_chunkhdr chunk_hdr; 703 struct sctp_chunkhdr chunk_hdr;
704 struct sctp_authhdr auth_hdr; 704 struct sctp_authhdr auth_hdr;
705} sctp_auth_chunk_t; 705};
706 706
707struct sctp_infox { 707struct sctp_infox {
708 struct sctp_info *sctpinfo; 708 struct sctp_info *sctpinfo;