Merge pull request #1077 from rajithr/patch-1

Remove redundant assignment
This commit is contained in:
Nicolas Tsiftes 2015-05-20 19:45:25 +02:00
commit 36d5c5dd27

View file

@ -1125,8 +1125,6 @@ cfs_read(int fd, void *buf, unsigned size)
* ordinary file if the page has no log record.
*/
for(bytes_left = size; bytes_left > 0; bytes_left -= r) {
r = -1;
lp.offset = fdp->offset;
lp.buf = buf;
lp.size = bytes_left;