summaryrefslogtreecommitdiff
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-03 15:42:20 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-03 09:45:47 -0700
commit68d75469468620c37cd58dc352f1dcec8c3896b6 (patch)
treeb23b8ce2ddb6cb446ca842c6b9ce509774b1d25f /include/linux/sctp.h
parent65205cc465e9b37abbdbb3d595c46081b97e35bc (diff)
sctp: remove the typedef sctp_addip_chunk_t
This patch is to remove the typedef sctp_addip_chunk_t, and replace with struct sctp_addip_chunk in the places where it's using this typedef. 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 83dac9b0b4bd..e7b439ed6371 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -639,10 +639,10 @@ struct sctp_addiphdr {
__u8 params[0];
};
-typedef struct sctp_addip_chunk {
+struct sctp_addip_chunk {
struct sctp_chunkhdr chunk_hdr;
struct sctp_addiphdr addip_hdr;
-} sctp_addip_chunk_t;
+};
/* AUTH
* Section 4.1 Authentication Chunk (AUTH)