aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-09-22 17:36:48 -0400
committerAnna Schumaker <anna.schumaker@oracle.com>2025-09-30 16:04:03 -0400
commitffe381923d87c8cf5d4372c12eea6127dc36fd3a (patch)
tree60f623516727ae1eff8e7dd52daeaf0058ec7f7f /net
parentNFSv4/flexfiles: Add support for striped layouts (diff)
downloadlinux-ffe381923d87c8cf5d4372c12eea6127dc36fd3a.tar.gz
linux-ffe381923d87c8cf5d4372c12eea6127dc36fd3a.zip
sunrpc: unexport rpc_malloc() and rpc_free()
These are not used outside of sunrpc code. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index 9b45fbdc90ca..016f16ca5779 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -1074,7 +1074,6 @@ int rpc_malloc(struct rpc_task *task)
rqst->rq_rbuffer = (char *)rqst->rq_buffer + rqst->rq_callsize;
return 0;
}
-EXPORT_SYMBOL_GPL(rpc_malloc);
/**
* rpc_free - free RPC buffer resources allocated via rpc_malloc
@@ -1095,7 +1094,6 @@ void rpc_free(struct rpc_task *task)
else
kfree(buf);
}
-EXPORT_SYMBOL_GPL(rpc_free);
/*
* Creation and deletion of RPC task structures