diff options
Diffstat (limited to 'fs/aio.c')
| -rw-r--r-- | fs/aio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c index 7b66b93d5bfa7a..3c249b93863274 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; |
