mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
sctp: remove the typedef sctp_sack_variable_t
This patch is to remove the typedef sctp_sack_variable_t, and replace with union sctp_sack_variable in the places where it's using this typedef. It is also to fix some indents in sctp_acked(). 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
9b41515636
commit
afd93b7be6
@@ -368,17 +368,17 @@ struct sctp_gap_ack_block {
|
||||
__be16 end;
|
||||
};
|
||||
|
||||
typedef union {
|
||||
union sctp_sack_variable {
|
||||
struct sctp_gap_ack_block gab;
|
||||
__be32 dup;
|
||||
} sctp_sack_variable_t;
|
||||
};
|
||||
|
||||
typedef struct sctp_sackhdr {
|
||||
__be32 cum_tsn_ack;
|
||||
__be32 a_rwnd;
|
||||
__be16 num_gap_ack_blocks;
|
||||
__be16 num_dup_tsns;
|
||||
sctp_sack_variable_t variable[0];
|
||||
union sctp_sack_variable variable[0];
|
||||
} sctp_sackhdr_t;
|
||||
|
||||
typedef struct sctp_sack_chunk {
|
||||
|
Reference in New Issue
Block a user