nfsd: don't call nfsd_reply_cache_shutdown twice

The caller is cleaning up on ENOMEM, don't try to do it here too.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
J. Bruce Fields 2019-05-16 14:24:40 -04:00
parent 3b2d4dcf71
commit b401170f6d

View File

@ -207,7 +207,6 @@ int nfsd_reply_cache_init(void)
return 0;
out_nomem:
printk(KERN_ERR "nfsd: failed to allocate reply cache\n");
nfsd_reply_cache_shutdown();
return -ENOMEM;
}