aio: remove a pointless assignment
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Apr 2016 01:34:25 +0000 (21:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Apr 2016 23:51:33 +0000 (19:51 -0400)
the value is never used after that point

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c

index 155f84253f331a4d9d13ffac3d1ea70322b09b11..a6deaa78326d5bd05adafc5b2bee373ca0757b83 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1447,8 +1447,6 @@ rw_common:
                        return ret;
                }
 
-               len = ret;
-
                if (rw == WRITE)
                        file_start_write(file);