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/utils.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/utils.c')
-rw-r--r-- | net/rxrpc/utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/rxrpc/utils.c b/net/rxrpc/utils.c index 017adaa54e90..ff7af71c4b49 100644 --- a/net/rxrpc/utils.c +++ b/net/rxrpc/utils.c @@ -17,9 +17,7 @@ /* * Fill out a peer address from a socket buffer containing a packet. */ -int rxrpc_extract_addr_from_skb(struct rxrpc_local *local, - struct sockaddr_rxrpc *srx, - struct sk_buff *skb) +int rxrpc_extract_addr_from_skb(struct sockaddr_rxrpc *srx, struct sk_buff *skb) { memset(srx, 0, sizeof(*srx)); |