summaryrefslogtreecommitdiff
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-23 04:34:35 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-25 02:01:20 +0300
commit38c00f7482281801d6f7fe410c7a4b61ae25218e (patch)
tree0f1ef17268b54eca8cae67a270c86ceb87e5782e /include/linux/sctp.h
parent4d2dcdf4e04c938b266f06f271000e4b0f3a288f (diff)
downloadlinux-38c00f7482281801d6f7fe410c7a4b61ae25218e.tar.xz
sctp: remove the typedef sctp_heartbeat_chunk_t
This patch is to remove the typedef sctp_heartbeat_chunk_t, and replace with struct sctp_heartbeat_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 6e26b86770f1..bfda7c66960c 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -398,10 +398,10 @@ struct sctp_heartbeathdr {
struct sctp_paramhdr info;
};
-typedef struct sctp_heartbeat_chunk {
+struct sctp_heartbeat_chunk {
struct sctp_chunkhdr chunk_hdr;
struct sctp_heartbeathdr hb_hdr;
-} sctp_heartbeat_chunk_t;
+};
/* For the abort and shutdown ACK we must carry the init tag in the