aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/local_event.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-10-04 09:32:28 +0100
committerDavid Howells <dhowells@redhat.com>2018-10-04 09:32:28 +0100
commit5a790b7375414cffb0f7e8ab0f175d2e02a0af0e (patch)
treeb35687b775f6e05e4034344636e34e0c5e141f8d /net/rxrpc/local_event.c
parentrxrpc: Use IPv4 addresses throught the IPv6 (diff)
downloadlinux-dev-5a790b7375414cffb0f7e8ab0f175d2e02a0af0e.tar.xz
linux-dev-5a790b7375414cffb0f7e8ab0f175d2e02a0af0e.zip
rxrpc: Drop the local endpoint arg from rxrpc_extract_addr_from_skb()
rxrpc_extract_addr_from_skb() doesn't use the argument that points to the local endpoint, so remove the argument. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
-rw-r--r--net/rxrpc/local_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/local_event.c b/net/rxrpc/local_event.c
index 13bd8a4dfac7..927ead43df42 100644
--- a/net/rxrpc/local_event.c
+++ b/net/rxrpc/local_event.c
@@ -39,7 +39,7 @@ static void rxrpc_send_version_request(struct rxrpc_local *local,
_enter("");
- if (rxrpc_extract_addr_from_skb(local, &srx, skb) < 0)
+ if (rxrpc_extract_addr_from_skb(&srx, skb) < 0)
return;
msg.msg_name = &srx.transport;