Skip to content

Commit fe9a0fe

Browse files
lxindavem330
authored andcommitted
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>
1 parent 62e6b7e commit fe9a0fe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎include/linux/sctp.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,16 +363,16 @@ struct sctp_unrecognized_param {
363363
* subsequences of DATA chunks as represented by their TSNs.
364364
*/
365365

366-
typedef struct sctp_gap_ack_block {
366+
struct sctp_gap_ack_block {
367367
__be16 start;
368368
__be16 end;
369-
} sctp_gap_ack_block_t;
369+
};
370370

371371
typedef __be32 sctp_dup_tsn_t;
372372

373373
typedef union {
374-
sctp_gap_ack_block_t gab;
375-
sctp_dup_tsn_t dup;
374+
struct sctp_gap_ack_block gab;
375+
sctp_dup_tsn_t dup;
376376
} sctp_sack_variable_t;
377377

378378
typedef struct sctp_sackhdr {

0 commit comments

Comments
 (0)