diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-05 19:59:54 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-06 21:33:41 -0700 |
commit | 1c662018d2d41ecc5550cbd74d29d2d32c164ed3 (patch) | |
tree | 6bb6c9b10e9a1e8ac972c6c2db06f4a7559776f5 /net/sctp/socket.c | |
parent | 701ef3e6c74be771a76be39817941e68e7228644 (diff) | |
download | linux-1c662018d2d41ecc5550cbd74d29d2d32c164ed3.tar.bz2 |
sctp: remove the typedef sctp_scope_t
This patch is to remove the typedef sctp_scope_t, and
replace with enum sctp_scope 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 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 1db478e34520..a1e2113806dd 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -1055,7 +1055,7 @@ static int __sctp_connect(struct sock *sk, struct sctp_association *asoc2; struct sctp_transport *transport; union sctp_addr to; - sctp_scope_t scope; + enum sctp_scope scope; long timeo; int err = 0; int addrcnt = 0; @@ -1610,7 +1610,7 @@ static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len) struct sctp_initmsg *sinit; sctp_assoc_t associd = 0; sctp_cmsgs_t cmsgs = { NULL }; - sctp_scope_t scope; + enum sctp_scope scope; bool fill_sinfo_ttl = false, wait_connect = false; struct sctp_datamsg *datamsg; int msg_flags = msg->msg_flags; |