Skip to content

Commit

Permalink
aio: remove a pointless assignment
Browse files Browse the repository at this point in the history
the value is never used after that point

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Apr 3, 2016
1 parent f55532a commit 2958ec1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1447,8 +1447,6 @@ static ssize_t aio_run_iocb(struct kiocb *req, unsigned opcode,
return ret;
}

len = ret;

if (rw == WRITE)
file_start_write(file);

Expand Down

0 comments on commit 2958ec1

Please sign in to comment.