summaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-07-12 17:23:39 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-07-12 17:35:57 -0400
commitaafe37504c70954fc104c88d9d15d553572dae69 (patch)
tree08bc9b6a8246f77ebb6af42f3e289d38f31ac3c8 /fs/nfs/write.c
parent3e2170451e91327bfa8a82040fea78043847533a (diff)
downloadlwn-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/write.c')
-rw-r--r--fs/nfs/write.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index bdc4db23951e..5e2f10304548 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -868,7 +868,6 @@ static void nfs_write_completion(struct nfs_pgio_header *hdr)
{
struct nfs_commit_info cinfo;
unsigned long bytes = 0;
- bool do_destroy;
if (test_bit(NFS_IOHDR_REDO, &hdr->flags))
goto out;
@@ -898,7 +897,6 @@ remove_req:
next:
nfs_unlock_request(req);
nfs_end_page_writeback(req);
- do_destroy = !test_bit(NFS_IOHDR_NEED_COMMIT, &hdr->flags);
nfs_release_request(req);
}
out: