Remove redundant assignment

This commit is contained in:
rajithr 2015-05-20 15:37:32 +05:30
parent a6c5a49a88
commit 0d8de9022c

View file

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