diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-06-30 11:52:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-01 09:08:42 -0700 |
commit | 9f8d31471548d9b74609335f9a3c75c7b664c8b4 (patch) | |
tree | 1fbc8c5b81f2d438a65c587c135a85097b3918a2 /include/linux/sctp.h | |
parent | 3583df1a3d7328b42cf116db3fb56b0368fab12b (diff) | |
download | lwn-9f8d31471548d9b74609335f9a3c75c7b664c8b4.tar.gz lwn-9f8d31471548d9b74609335f9a3c75c7b664c8b4.zip |
sctp: remove the typedef sctp_data_chunk_t
This patch is to remove the typedef sctp_data_chunk_t, and replace
with struct sctp_data_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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 55d84c143122..91c888f21b24 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -235,10 +235,10 @@ struct sctp_datahdr { __u8 payload[0]; }; -typedef struct sctp_data_chunk { +struct sctp_data_chunk { struct sctp_chunkhdr chunk_hdr; struct sctp_datahdr data_hdr; -} sctp_data_chunk_t; +}; /* DATA Chuck Specific Flags */ enum { |