mirror of https://gitee.com/openkylin/linux.git
SUNRPC: Remove unused callback xpo_adjust_wspace()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
637600f3ff
commit
f4a4906e56
|
@ -25,7 +25,6 @@ struct svc_xprt_ops {
|
|||
void (*xpo_detach)(struct svc_xprt *);
|
||||
void (*xpo_free)(struct svc_xprt *);
|
||||
int (*xpo_secure_port)(struct svc_rqst *);
|
||||
void (*xpo_adjust_wspace)(struct svc_xprt *);
|
||||
};
|
||||
|
||||
struct svc_xprt_class {
|
||||
|
|
|
@ -517,8 +517,6 @@ void svc_reserve(struct svc_rqst *rqstp, int space)
|
|||
atomic_sub((rqstp->rq_reserved - space), &xprt->xpt_reserved);
|
||||
rqstp->rq_reserved = space;
|
||||
|
||||
if (xprt->xpt_ops->xpo_adjust_wspace)
|
||||
xprt->xpt_ops->xpo_adjust_wspace(xprt);
|
||||
svc_xprt_enqueue(xprt);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue