Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c87b056e
Commit
c87b056e
authored
Nov 10, 2020
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUNRPC: Remove unused function xprt_load_transport()
Signed-off-by:
Trond Myklebust
<
trond.myklebust@hammerspace.com
>
parent
1c3695d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
include/linux/sunrpc/xprt.h
include/linux/sunrpc/xprt.h
+0
-1
net/sunrpc/xprt.c
net/sunrpc/xprt.c
+0
-15
No files found.
include/linux/sunrpc/xprt.h
View file @
c87b056e
...
...
@@ -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
);
...
...
net/sunrpc/xprt.c
View file @
c87b056e
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment