summaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2024-03-07 00:04:42 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-03-09 15:14:51 +0100
commitcdbd321ac15e1e663c15fc0433024f6487531f27 (patch)
tree863f989a0e21ec30555638f478592783828b013c /fs/nfs/client.c
parentnfs: fix UAF in direct writes (diff)
downloadlinux-cdbd321ac15e1e663c15fc0433024f6487531f27.tar.xz
linux-cdbd321ac15e1e663c15fc0433024f6487531f27.zip
NFS: remove unused variable nfs_rpcstat
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index a8fad331dff6..de77848ae654 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -76,10 +76,6 @@ const struct rpc_program nfs_program = {
.pipe_dir_name = NFS_PIPE_DIRNAME,
};
-struct rpc_stat nfs_rpcstat = {
- .program = &nfs_program
-};
-
static struct nfs_subversion *find_nfs_version(unsigned int version)
{
struct nfs_subversion *nfs;