diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-08 14:12:47 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-08 14:12:47 +0100 |
commit | 44aab3e09ef947e546ee61c5082c41b86dd15e53 (patch) | |
tree | a56798afd105c04937d7a45a991c90d18a388ee0 | |
parent | NFSv4: Fix a compile warning about no prototype for nfs4_ioctl() (diff) | |
download | linux-44aab3e09ef947e546ee61c5082c41b86dd15e53.tar.xz linux-44aab3e09ef947e546ee61c5082c41b86dd15e53.zip |
NFS: Fix a compile warning about unused variable in nfs_generic_pg_pgios()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r-- | fs/nfs/pagelist.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index cb7e73ba059c..8ce4f61cbaa5 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -796,12 +796,9 @@ EXPORT_SYMBOL_GPL(nfs_generic_pgio); static int nfs_generic_pg_pgios(struct nfs_pageio_descriptor *desc) { - struct nfs_pgio_mirror *mirror; struct nfs_pgio_header *hdr; int ret; - mirror = nfs_pgio_current_mirror(desc); - hdr = nfs_pgio_header_alloc(desc->pg_rw_ops); if (!hdr) { desc->pg_error = -ENOMEM; |