fs/direct-io.c: remove some left over checks
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 Apr 2014 21:47:17 +0000 (14:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:20:57 +0000 (16:20 -0700)
commit45d4f855046631d63dab8832ba8a8369ed8e04bd
treeff603cb87fa84875ac4c34a2bf0f277433257dcf
parent2b665e276c15ba7d9fc8cdd16931883a51ed13e4
fs/direct-io.c: remove some left over checks

We know that "ret > 0" is true here.  These tests were left over from
commit 02afc27faec9 ('direct-io: Handle O_(D)SYNC AIO') and aren't
needed any more.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/block_dev.c
fs/btrfs/file.c
fs/ext4/file.c