The branch main has been updated by bdrewery:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a771bf748f94acd53ce95a397f8b0733d8c5aa3d

commit a771bf748f94acd53ce95a397f8b0733d8c5aa3d
Author:     Bryan Drewery <[email protected]>
AuthorDate: 2021-03-17 22:01:19 +0000
Commit:     Bryan Drewery <[email protected]>
CommitDate: 2021-03-17 22:29:15 +0000

    Remove unused obj variable missed in r354870.
    
    Sponsored by:   Dell EMC
---
 sys/vm/vnode_pager.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index e75c6fb6b5d7..c33ffca4a700 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to