NFS: Fix a compile warning about unused variable in nfs_generic_pg_pgios()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 8 Jan 2016 13:12:47 +0000 (08:12 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 8 Jan 2016 13:12:47 +0000 (08:12 -0500)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c

index cb7e73ba059ce6ba139bb8d48267cbbca98dbb40..8ce4f61cbaa5ffc5488fbe48fcf22b7f066f23b7 100644 (file)
@@ -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;