Remove redundant assignment
This commit is contained in:
parent
a6c5a49a88
commit
0d8de9022c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue