diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-01-25 19:49:29 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-02-28 16:26:39 +0100 |
commit | 87cdd8641c8a1ec6afd2468265e20840a57fd888 (patch) | |
tree | c168a965a0d4a63c96e15cda205bc56e38de84c9 /net/sunrpc/svc.c | |
parent | SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt() (diff) | |
download | linux-87cdd8641c8a1ec6afd2468265e20840a57fd888.tar.xz linux-87cdd8641c8a1ec6afd2468265e20840a57fd888.zip |
SUNRPC: Remove svo_shutdown method
Clean up. Neil observed that "any code that calls svc_shutdown_net()
knows what the shutdown function should be, and so can call it
directly."
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 2aabec2b4bec..74a75a22da9a 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -539,9 +539,6 @@ EXPORT_SYMBOL_GPL(svc_create_pooled); void svc_shutdown_net(struct svc_serv *serv, struct net *net) { svc_close_net(serv, net); - - if (serv->sv_ops->svo_shutdown) - serv->sv_ops->svo_shutdown(serv, net); } EXPORT_SYMBOL_GPL(svc_shutdown_net); |