X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Faio.c;h=3c249b93863274ccb6b1d10c05fa901861e5c848;hb=2157f5caaed59128d70a1dd72f5ec809cad54407;hp=7b66b93d5bfa7a3e0e750c7eed1fd890116ca2d5;hpb=478f74a3d8085076dfcb481aa9361b808a6aae94;p=linux-2.6-microblaze.git diff --git a/fs/aio.c b/fs/aio.c index 7b66b93d5bfa..3c249b938632 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1552,7 +1552,6 @@ static int aio_read(struct kiocb *req, const struct iocb *iocb, file = req->ki_filp; if (unlikely(!(file->f_mode & FMODE_READ))) return -EBADF; - ret = -EINVAL; if (unlikely(!file->f_op->read_iter)) return -EINVAL;