aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-23 09:34:33 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-24 16:01:20 -0700
commitd4d6c61489e7e4a8944360312e572988889558a8 (patch)
tree6d045f4ccb059726ddf9f653455b38431b7a2054 /include/linux/sctp.h
parentsctp: remove the typedef sctp_sackhdr_t (diff)
downloadlinux-dev-d4d6c61489e7e4a8944360312e572988889558a8.tar.xz
linux-dev-d4d6c61489e7e4a8944360312e572988889558a8.zip
sctp: remove the typedef sctp_sack_chunk_t
This patch is to remove the typedef sctp_sack_chunk_t, and replace with struct sctp_sack_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 a2e43129d11a..48f6560dd880 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -381,10 +381,10 @@ struct sctp_sackhdr {
union sctp_sack_variable variable[0];
};
-typedef struct sctp_sack_chunk {
+struct sctp_sack_chunk {
struct sctp_chunkhdr chunk_hdr;
struct sctp_sackhdr sack_hdr;
-} sctp_sack_chunk_t;
+};
/* RFC 2960. Section 3.3.5 Heartbeat Request (HEARTBEAT) (4):