Skip to content

Commit 9b41515

Browse files
lxindavem330
authored andcommitted
sctp: remove the typedef sctp_dup_tsn_t
This patch is to remove the typedef sctp_dup_tsn_t, and replace with __be32 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>
1 parent fe9a0fe commit 9b41515

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎include/linux/sctp.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,9 @@ struct sctp_gap_ack_block {
368368
__be16 end;
369369
};
370370

371-
typedef __be32 sctp_dup_tsn_t;
372-
373371
typedef union {
374372
struct sctp_gap_ack_block gab;
375-
sctp_dup_tsn_t dup;
373+
__be32 dup;
376374
} sctp_sack_variable_t;
377375

378376
typedef struct sctp_sackhdr {

0 commit comments

Comments
 (0)