SUNRPC: remove "cache_request" argument in sunrpc_cache_pipe_upcall() function
Passing this pointer is redundant since it's stored on cache_detail structure, which is also passed to sunrpc_cache_pipe_upcall () function. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
committed by
J. Bruce Fields
parent
2d4383383b
commit
21cd1254d3
@ -144,7 +144,7 @@ static int nfs_dns_upcall(struct cache_detail *cd,
|
||||
|
||||
ret = nfs_cache_upcall(cd, key->hostname);
|
||||
if (ret)
|
||||
ret = sunrpc_cache_pipe_upcall(cd, ch, cd->cache_request);
|
||||
ret = sunrpc_cache_pipe_upcall(cd, ch);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user