]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
sunrpc: unexport rpc_malloc() and rpc_free()
authorJeff Layton <jlayton@kernel.org>
Mon, 22 Sep 2025 21:36:48 +0000 (17:36 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 30 Sep 2025 20:04:03 +0000 (16:04 -0400)
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>
net/sunrpc/sched.c

index 9b45fbdc90cabec75582bfc1a583f4db5486eacf..016f16ca5779994e65ef55608b35058d63e702e5 100644 (file)
@@ -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