aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-17 11:29:49 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-16 20:52:13 -0700
commita38905e6aa1a758af003b80f3318196eadb86dfe (patch)
tree5b98d2318dd8d2b31f7c34cea5ff03fabefff606 /include/linux/sctp.h
parentrds: cancel send/recv work before queuing connection shutdown (diff)
downloadlinux-dev-a38905e6aa1a758af003b80f3318196eadb86dfe.tar.xz
linux-dev-a38905e6aa1a758af003b80f3318196eadb86dfe.zip
sctp: remove the typedef sctp_ipv4addr_param_t
This patch is to remove the typedef sctp_ipv4addr_param_t, and replace with struct sctp_ipv4addr_param 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 99e866487e2f..e42095d7ce57 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -273,10 +273,10 @@ struct sctp_init_chunk {
/* Section 3.3.2.1. IPv4 Address Parameter (5) */
-typedef struct sctp_ipv4addr_param {
+struct sctp_ipv4addr_param {
struct sctp_paramhdr param_hdr;
- struct in_addr addr;
-} sctp_ipv4addr_param_t;
+ struct in_addr addr;
+};
/* Section 3.3.2.1. IPv6 Address Parameter (6) */
typedef struct sctp_ipv6addr_param {