diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-12 17:23:39 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-12 17:35:57 -0400 |
commit | aafe37504c70954fc104c88d9d15d553572dae69 (patch) | |
tree | 08bc9b6a8246f77ebb6af42f3e289d38f31ac3c8 /fs/nfs/direct.c | |
parent | 3e2170451e91327bfa8a82040fea78043847533a (diff) | |
download | lwn-aafe37504c70954fc104c88d9d15d553572dae69.tar.gz lwn-aafe37504c70954fc104c88d9d15d553572dae69.zip |
NFS: Remove 2 unused variables
Cc: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r-- | fs/nfs/direct.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 8f98138cbc43..f11b9eed0de1 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c @@ -756,7 +756,6 @@ static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) spin_unlock(&dreq->lock); while (!list_empty(&hdr->pages)) { - bool do_destroy = true; req = nfs_list_entry(hdr->pages.next); nfs_list_remove_request(req); @@ -765,7 +764,6 @@ static void nfs_direct_write_completion(struct nfs_pgio_header *hdr) case NFS_IOHDR_NEED_COMMIT: kref_get(&req->wb_kref); nfs_mark_request_commit(req, hdr->lseg, &cinfo); - do_destroy = false; } nfs_unlock_and_release_request(req); } |