sctp: remove the typedef sctp_gap_ack_block_t

This patch is to remove the typedef sctp_gap_ack_block_t, and
replace with struct sctp_gap_ack_block 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:29 +08:00 committed by David S. Miller
parent 62e6b7e4ee
commit fe9a0fe721
1 changed files with 4 additions and 4 deletions

View File

@ -363,15 +363,15 @@ struct sctp_unrecognized_param {
* subsequences of DATA chunks as represented by their TSNs.
*/
typedef struct sctp_gap_ack_block {
struct sctp_gap_ack_block {
__be16 start;
__be16 end;
} sctp_gap_ack_block_t;
};
typedef __be32 sctp_dup_tsn_t;
typedef union {
sctp_gap_ack_block_t gab;
struct sctp_gap_ack_block gab;
sctp_dup_tsn_t dup;
} sctp_sack_variable_t;