Commit c87b056e authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Remove unused function xprt_load_transport()

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 1c3695d0
......@@ -385,7 +385,6 @@ xprt_disable_swap(struct rpc_xprt *xprt)
*/
int xprt_register_transport(struct xprt_class *type);
int xprt_unregister_transport(struct xprt_class *type);
int xprt_load_transport(const char *);
int xprt_find_transport_ident(const char *);
void xprt_wait_for_reply_request_def(struct rpc_task *task);
void xprt_wait_for_reply_request_rtt(struct rpc_task *task);
......
......@@ -240,21 +240,6 @@ int xprt_find_transport_ident(const char *netid)
}
EXPORT_SYMBOL_GPL(xprt_find_transport_ident);
/**
* xprt_load_transport - load a transport implementation
* @netid: transport to load
*
* Returns:
* 0: transport successfully loaded
* -ENOENT: transport module not available
*/
int xprt_load_transport(const char *netid)
{
int ret = xprt_find_transport_ident(netid);
return ret < 0 ? ret : 0;
}
EXPORT_SYMBOL_GPL(xprt_load_transport);
static void xprt_clear_locked(struct rpc_xprt *xprt)
{
xprt->snd_task = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment