diff options
author | David Howells <dhowells@redhat.com> | 2018-10-04 10:32:28 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-04 10:32:28 +0200 |
commit | 5a790b7375414cffb0f7e8ab0f175d2e02a0af0e (patch) | |
tree | b35687b775f6e05e4034344636e34e0c5e141f8d /net/rxrpc/call_accept.c | |
parent | rxrpc: Use IPv4 addresses throught the IPv6 (diff) | |
download | linux-5a790b7375414cffb0f7e8ab0f175d2e02a0af0e.tar.xz linux-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 'net/rxrpc/call_accept.c')
-rw-r--r-- | net/rxrpc/call_accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/call_accept.c b/net/rxrpc/call_accept.c index 9c7f26d06a52..8354cadbb839 100644 --- a/net/rxrpc/call_accept.c +++ b/net/rxrpc/call_accept.c @@ -280,7 +280,7 @@ static struct rxrpc_call *rxrpc_alloc_incoming_call(struct rxrpc_sock *rx, peer = NULL; if (!peer) { peer = b->peer_backlog[peer_tail]; - if (rxrpc_extract_addr_from_skb(local, &peer->srx, skb) < 0) + if (rxrpc_extract_addr_from_skb(&peer->srx, skb) < 0) return NULL; b->peer_backlog[peer_tail] = NULL; smp_store_release(&b->peer_backlog_tail, |