From: Trond Myklebust Date: Tue, 12 Apr 2011 16:29:15 +0000 (-0400) Subject: NFS: Get rid of pointless test in nfs_commit_done X-Git-Tag: v2.6.39-rc6~24^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0d0e96b840dcc73f9b9d45bf8f405dbce72a079;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git NFS: Get rid of pointless test in nfs_commit_done Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/write.c b/fs/nfs/write.c index bb60818..3bd5d7e 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1417,8 +1417,7 @@ static void nfs_commit_done(struct rpc_task *task, void *calldata) task->tk_pid, task->tk_status); /* Call the NFS version-specific code */ - if (NFS_PROTO(data->inode)->commit_done(task, data) != 0) - return; + NFS_PROTO(data->inode)->commit_done(task, data); } void nfs_commit_release_pages(struct nfs_write_data *data)