From: Fred Isaman Date: Thu, 22 Mar 2012 05:39:34 +0000 (-0400) Subject: NFS4.1: remove duplicate variable declaration in filelayout_clear_request_commit X-Git-Tag: v3.4-rc1~51^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d44fc387997c0750125cfb0c2c803a3171b649f4;p=profile%2Fivi%2Fkernel-x86-ivi.git NFS4.1: remove duplicate variable declaration in filelayout_clear_request_commit inode is declared twice for no good reason Signed-off-by: Fred Isaman Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c index 634c0bc..5acfd9e 100644 --- a/fs/nfs/nfs4filelayout.c +++ b/fs/nfs/nfs4filelayout.c @@ -793,7 +793,6 @@ filelayout_clear_request_commit(struct nfs_page *req) if (!test_and_clear_bit(PG_COMMIT_TO_DS, &req->wb_flags)) goto out; if (list_is_singular(&req->wb_list)) { - struct inode *inode = req->wb_context->dentry->d_inode; struct pnfs_layout_segment *lseg; /* From here we can find the bucket, but for the moment,