sctp: remove the typedef sctp_gap_ack_block_t
authorXin Long <lucien.xin@gmail.com>
Sun, 23 Jul 2017 01:34:29 +0000 (09:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 23:01:20 +0000 (16:01 -0700)
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>
include/linux/sctp.h

index c323b3e3ecdbe13fd71c91de7646c21bbfc6975d..b84b8e8340da953324fa4c7f0bcc2850abc2d282 100644 (file)
@@ -363,16 +363,16 @@ 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;
-        sctp_dup_tsn_t         dup;
+       struct sctp_gap_ack_block gab;
+       sctp_dup_tsn_t dup;
 } sctp_sack_variable_t;
 
 typedef struct sctp_sackhdr {