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>
This commit is contained in:

committed by
David S. Miller

parent
3583df1a3d
commit
9f8d314715
@@ -1090,7 +1090,7 @@ void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
|
||||
|
||||
if (chunk) {
|
||||
needed = ntohs(chunk->chunk_hdr->length);
|
||||
needed -= sizeof(sctp_data_chunk_t);
|
||||
needed -= sizeof(struct sctp_data_chunk);
|
||||
} else
|
||||
needed = SCTP_DEFAULT_MAXWINDOW;
|
||||
|
||||
|
Reference in New Issue
Block a user