summaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long2017-07-23 03:34:30 +0200
committerDavid S. Miller2017-07-25 01:01:20 +0200
commit9b41515636563ae76e730dbcb97fd303b94ed7d9 (patch)
tree862da2a1797f93a36bc381729a2c29df84da610a /include/linux/sctp.h
parentsctp: remove the typedef sctp_gap_ack_block_t (diff)
downloadkernel-qcow2-linux-9b41515636563ae76e730dbcb97fd303b94ed7d9.tar.gz
kernel-qcow2-linux-9b41515636563ae76e730dbcb97fd303b94ed7d9.tar.xz
kernel-qcow2-linux-9b41515636563ae76e730dbcb97fd303b94ed7d9.zip
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>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r--include/linux/sctp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index b84b8e8340da..8faf74eff63d 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -368,11 +368,9 @@ struct sctp_gap_ack_block {
__be16 end;
};
-typedef __be32 sctp_dup_tsn_t;
-
typedef union {
struct sctp_gap_ack_block gab;
- sctp_dup_tsn_t dup;
+ __be32 dup;
} sctp_sack_variable_t;
typedef struct sctp_sackhdr {