mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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:
committed by
J. Bruce Fields
parent
637600f3ff
commit
f4a4906e56
@@ -25,7 +25,6 @@ struct svc_xprt_ops {
|
|||||||
void (*xpo_detach)(struct svc_xprt *);
|
void (*xpo_detach)(struct svc_xprt *);
|
||||||
void (*xpo_free)(struct svc_xprt *);
|
void (*xpo_free)(struct svc_xprt *);
|
||||||
int (*xpo_secure_port)(struct svc_rqst *);
|
int (*xpo_secure_port)(struct svc_rqst *);
|
||||||
void (*xpo_adjust_wspace)(struct svc_xprt *);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct svc_xprt_class {
|
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);
|
atomic_sub((rqstp->rq_reserved - space), &xprt->xpt_reserved);
|
||||||
rqstp->rq_reserved = space;
|
rqstp->rq_reserved = space;
|
||||||
|
|
||||||
if (xprt->xpt_ops->xpo_adjust_wspace)
|
|
||||||
xprt->xpt_ops->xpo_adjust_wspace(xprt);
|
|
||||||
svc_xprt_enqueue(xprt);
|
svc_xprt_enqueue(xprt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user