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>
This commit is contained in:
Fred Isaman 2011-02-11 15:42:37 +00:00 committed by Trond Myklebust
parent eabf5baaaa
commit 83762c56c1

View file

@ -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);
}
/*