mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Anna Schumaker
parent
20b1d75fb8
commit
ffe381923d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user