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>
This commit is contained in:

committed by
David S. Miller

parent
701ef3e6c7
commit
1c662018d2
@@ -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;
|
||||
|
Reference in New Issue
Block a user