diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-06-30 06:52:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-01 19:08:42 +0300 |
commit | 9f8d31471548d9b74609335f9a3c75c7b664c8b4 (patch) | |
tree | 1fbc8c5b81f2d438a65c587c135a85097b3918a2 /include/net/sctp/sm.h | |
parent | 3583df1a3d7328b42cf116db3fb56b0368fab12b (diff) | |
download | linux-9f8d31471548d9b74609335f9a3c75c7b664c8b4.tar.xz |
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/net/sctp/sm.h')
-rw-r--r-- | include/net/sctp/sm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index 245eb22230a2..860f378333b5 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h @@ -347,7 +347,7 @@ static inline __u16 sctp_data_size(struct sctp_chunk *chunk) __u16 size; size = ntohs(chunk->chunk_hdr->length); - size -= sizeof(sctp_data_chunk_t); + size -= sizeof(struct sctp_data_chunk); return size; } |