summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2020-11-10 10:32:14 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-12-02 14:05:53 -0500
commitc87b056e58e71ba7a3f603700618f8da9742aa29 (patch)
treea47ea2ef7ed0fc1796e23283a5c68ae9f39099f5 /net
parent1c3695d0bb3869fedcde4538d831003519576ece (diff)
SUNRPC: Remove unused function xprt_load_transport()
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprt.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 23452f57d369..691ccf8049a4 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -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;