Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Trond Myklebust and committed by
J. Bruce Fields
f4a4906e 637600f3

-3
-1
include/linux/sunrpc/svc_xprt.h
··· 25 25 void (*xpo_detach)(struct svc_xprt *); 26 26 void (*xpo_free)(struct svc_xprt *); 27 27 int (*xpo_secure_port)(struct svc_rqst *); 28 - void (*xpo_adjust_wspace)(struct svc_xprt *); 29 28 }; 30 29 31 30 struct svc_xprt_class {
-2
net/sunrpc/svc_xprt.c
··· 517 517 atomic_sub((rqstp->rq_reserved - space), &xprt->xpt_reserved); 518 518 rqstp->rq_reserved = space; 519 519 520 - if (xprt->xpt_ops->xpo_adjust_wspace) 521 - xprt->xpt_ops->xpo_adjust_wspace(xprt); 522 520 svc_xprt_enqueue(xprt); 523 521 } 524 522 }