Remove unused obj variable missed in r354870.
Sponsored by: Dell EMC
This commit is contained in:
parent
5be27cbf16
commit
a771bf748f
@ -1476,12 +1476,10 @@ void
|
||||
vnode_pager_undirty_pages(vm_page_t *ma, int *rtvals, int written, off_t eof,
|
||||
int lpos)
|
||||
{
|
||||
vm_object_t obj;
|
||||
int i, pos, pos_devb;
|
||||
|
||||
if (written == 0 && eof >= lpos)
|
||||
return;
|
||||
obj = ma[0]->object;
|
||||
for (i = 0, pos = 0; pos < written; i++, pos += PAGE_SIZE) {
|
||||
if (pos < trunc_page(written)) {
|
||||
rtvals[i] = VM_PAGER_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user