ng_ksocket: Remove unused variable.
This commit is contained in:
parent
9f566782e0
commit
497c2cf4f8
@ -665,7 +665,6 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook)
|
||||
struct ng_mesg *resp = NULL;
|
||||
int error = 0;
|
||||
struct ng_mesg *msg;
|
||||
ng_ID_t raddr;
|
||||
|
||||
NGI_GET_MSG(item, msg);
|
||||
switch (msg->header.typecookie) {
|
||||
@ -724,7 +723,7 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook)
|
||||
if (error != 0 && error != EWOULDBLOCK)
|
||||
ERROUT(error);
|
||||
priv->response_token = msg->header.token;
|
||||
raddr = priv->response_addr = NGI_RETADDR(item);
|
||||
priv->response_addr = NGI_RETADDR(item);
|
||||
break;
|
||||
}
|
||||
|
||||
@ -750,7 +749,7 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook)
|
||||
if ((so->so_state & SS_ISCONNECTING) != 0) {
|
||||
/* We will notify the sender when we connect */
|
||||
priv->response_token = msg->header.token;
|
||||
raddr = priv->response_addr = NGI_RETADDR(item);
|
||||
priv->response_addr = NGI_RETADDR(item);
|
||||
priv->flags |= KSF_CONNECTING;
|
||||
ERROUT(EINPROGRESS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user