Skip to content

Commit 07dc19d

Browse files
Yue Haibingchucklever
authored andcommitted
SUNRPC: Remove unused declarations
Commit c7d7ec8 ("SUNRPC: Remove svc_shutdown_net()") removed svc_close_net() implementation but left declaration in place. Remove it. Commit 1f11a03 ("SUNRPC new transport for the NFSv4.1 shared back channel") removed svc_sock_create()/svc_sock_destroy() but not the declarations. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent 6372e2e commit 07dc19d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/linux/sunrpc/svcsock.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ static inline u32 svc_sock_final_rec(struct svc_sock *svsk)
5656
/*
5757
* Function prototypes.
5858
*/
59-
void svc_close_net(struct svc_serv *, struct net *);
6059
void svc_recv(struct svc_rqst *rqstp);
6160
void svc_send(struct svc_rqst *rqstp);
6261
void svc_drop(struct svc_rqst *);
@@ -66,8 +65,6 @@ int svc_addsock(struct svc_serv *serv, struct net *net,
6665
const struct cred *cred);
6766
void svc_init_xprt_sock(void);
6867
void svc_cleanup_xprt_sock(void);
69-
struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);
70-
void svc_sock_destroy(struct svc_xprt *);
7168

7269
/*
7370
* svc_makesock socket characteristics

0 commit comments

Comments
 (0)