summaryrefslogtreecommitdiff
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-23 04:34:30 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-25 02:01:20 +0300
commit9b41515636563ae76e730dbcb97fd303b94ed7d9 (patch)
tree862da2a1797f93a36bc381729a2c29df84da610a /include/linux/sctp.h
parentfe9a0fe7210d803adb3d5817da029fe39b8a4133 (diff)
downloadlinux-9b41515636563ae76e730dbcb97fd303b94ed7d9.tar.xz
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 {