Skip to content

Commit ffe3819

Browse files
jtlaytonAnna Schumaker
authored andcommitted
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>
1 parent 20b1d75 commit ffe3819

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

net/sunrpc/sched.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,6 @@ int rpc_malloc(struct rpc_task *task)
10741074
rqst->rq_rbuffer = (char *)rqst->rq_buffer + rqst->rq_callsize;
10751075
return 0;
10761076
}
1077-
EXPORT_SYMBOL_GPL(rpc_malloc);
10781077

10791078
/**
10801079
* rpc_free - free RPC buffer resources allocated via rpc_malloc
@@ -1095,7 +1094,6 @@ void rpc_free(struct rpc_task *task)
10951094
else
10961095
kfree(buf);
10971096
}
1098-
EXPORT_SYMBOL_GPL(rpc_free);
10991097

11001098
/*
11011099
* Creation and deletion of RPC task structures

0 commit comments

Comments
 (0)