diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-11 10:23:48 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-11 10:02:43 -0700 |
commit | a05437ac5deb100f94e290ad4c5eef3e78f4b6bb (patch) | |
tree | 301d22250c944f438909bdf0f49b686b4373fde2 /include/net/sctp | |
parent | 74439f344b1becd57ec822bc0e2c1a4cbf240a53 (diff) | |
download | linux-a05437ac5deb100f94e290ad4c5eef3e78f4b6bb.tar.gz linux-a05437ac5deb100f94e290ad4c5eef3e78f4b6bb.tar.bz2 linux-a05437ac5deb100f94e290ad4c5eef3e78f4b6bb.zip |
sctp: remove the typedef sctp_cmsgs_t
This patch is to remove the typedef sctp_cmsgs_t, and
replace with struct sctp_cmsgs 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/net/sctp')
-rw-r--r-- | include/net/sctp/structs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 937187f3bffc..e171d3a3d2b4 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1985,11 +1985,11 @@ int sctp_cmp_addr_exact(const union sctp_addr *ss1, struct sctp_chunk *sctp_get_ecne_prepend(struct sctp_association *asoc); /* A convenience structure to parse out SCTP specific CMSGs. */ -typedef struct sctp_cmsgs { +struct sctp_cmsgs { struct sctp_initmsg *init; struct sctp_sndrcvinfo *srinfo; struct sctp_sndinfo *sinfo; -} sctp_cmsgs_t; +}; /* Structure for tracking memory objects */ typedef struct { |