aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Long2017-07-23 09:34:29 +0800
committerDavid S. Miller2017-07-24 16:01:20 -0700
commitfe9a0fe7210d803adb3d5817da029fe39b8a4133 (patch)
treee5fceef5e0458245fd6d0969a571d1cbabb6879b
parent62e6b7e4ee244f8043c169c049d3b2c2c798cd60 (diff)
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>
-rw-r--r--include/linux/sctp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index c323b3e3ecdb..b84b8e8340da 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -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 {