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>
This commit is contained in:
Xin Long
2017-07-23 09:34:33 +08:00
committed by David S. Miller
parent 787310859d
commit d4d6c61489
3 changed files with 5 additions and 5 deletions

View File

@@ -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):