diff options
author | David Howells <dhowells@redhat.com> | 2018-10-04 11:32:28 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-04 11:32:28 +0300 |
commit | 5a790b7375414cffb0f7e8ab0f175d2e02a0af0e (patch) | |
tree | b35687b775f6e05e4034344636e34e0c5e141f8d /net/rxrpc/conn_object.c | |
parent | 46894a13599a977ac35411b536fb3e0b2feefa95 (diff) | |
download | linux-5a790b7375414cffb0f7e8ab0f175d2e02a0af0e.tar.xz |
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/conn_object.c')
-rw-r--r-- | net/rxrpc/conn_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/conn_object.c b/net/rxrpc/conn_object.c index fb856a1ccda8..c332722820c2 100644 --- a/net/rxrpc/conn_object.c +++ b/net/rxrpc/conn_object.c @@ -86,7 +86,7 @@ struct rxrpc_connection *rxrpc_find_connection_rcu(struct rxrpc_local *local, _enter(",%x", sp->hdr.cid & RXRPC_CIDMASK); - if (rxrpc_extract_addr_from_skb(local, &srx, skb) < 0) + if (rxrpc_extract_addr_from_skb(&srx, skb) < 0) goto not_found; if (srx.transport.family != local->srx.transport.family && |