aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/nfsclient/nfs_clrpcops.c
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2022-04-13 14:43:13 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-04-13 14:43:13 +0000
commit4ad3423bc285f1fd66614e0a771d5dfed77234ee (patch)
tree2ef7b7ea15dac640af97469f0eb38da1a2fabfa5 /sys/fs/nfsclient/nfs_clrpcops.c
parent033718abc859fd062c46b38c557e8438b802dee0 (diff)
downloadsrc-4ad3423bc285f1fd66614e0a771d5dfed77234ee.tar.gz
src-4ad3423bc285f1fd66614e0a771d5dfed77234ee.zip
nfscl: Clean up the code by removing unused arguments
The "void *stuff" (also called fstuff and dstuff) argument was used by the Mac OSX port. For FreeBSD, this argument is always NULL, so remove it to clean up the code. This commit gets rid of "stuff" for nfscl_loadattrcache(). Future commits will do the same for other functions.
Diffstat (limited to 'sys/fs/nfsclient/nfs_clrpcops.c')
-rw-r--r--sys/fs/nfsclient/nfs_clrpcops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clrpcops.c b/sys/fs/nfsclient/nfs_clrpcops.c
index a89b5ac0e4f5..d27ede4ffc97 100644
--- a/sys/fs/nfsclient/nfs_clrpcops.c
+++ b/sys/fs/nfsclient/nfs_clrpcops.c
@@ -4036,7 +4036,7 @@ nfsrpc_readdirplus(vnode_t vp, struct uio *uiop, nfsuint64 *cookiep,
if (newvp != NULLVP) {
if (attr_ok)
error = nfscl_loadattrcache(&newvp,
- &nfsva, NULL, NULL, 0, 0);
+ &nfsva, NULL, 0, 0);
if (error) {
if (unlocknewvp)
vput(newvp);