diff options
author | Fred Isaman <iisaman@netapp.com> | 2011-02-11 15:42:37 +0000 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:40 -0500 |
commit | 83762c56c1ba7c5b4b92fb32d570661633228bc6 (patch) | |
tree | 96d0868be2b18efea6ffb1fe43c75b35db1be698 /fs/nfs/direct.c | |
parent | eabf5baaaaf41b6a0273043cfb06d53dca67acef (diff) | |
download | op-kernel-dev-83762c56c1ba7c5b4b92fb32d570661633228bc6.zip op-kernel-dev-83762c56c1ba7c5b4b92fb32d570661633228bc6.tar.gz |
NFS: remove pointless if statement in nfs_direct_write_result
The code was doing nothing more in either branch of the if.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r-- | fs/nfs/direct.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 9943a75..f493bdd 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c @@ -649,8 +649,7 @@ static void nfs_direct_write_result(struct rpc_task *task, void *calldata) { struct nfs_write_data *data = calldata; - if (nfs_writeback_done(task, data) != 0) - return; + nfs_writeback_done(task, data); } /* |