diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2023-08-11 17:53:23 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2023-08-11 17:53:23 +0000 |
commit | 3b9e785e6ff7312e1eb0b1627a5a46bb8d4aa094 (patch) | |
tree | a40f219f40037f986ed8415a3f5d0a5a6b38390c /sys/uvm | |
parent | da4b3292795813240c48340d1186551bdb3c6258 (diff) |
Kill unused variable in uvm_aio_aiodone_pages().
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_pager.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/uvm/uvm_pager.c b/sys/uvm/uvm_pager.c index a348311f50a..8d661c61b6b 100644 --- a/sys/uvm/uvm_pager.c +++ b/sys/uvm/uvm_pager.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pager.c,v 1.90 2023/05/13 09:24:59 mpi Exp $ */ +/* $OpenBSD: uvm_pager.c,v 1.91 2023/08/11 17:53:22 mpi Exp $ */ /* $NetBSD: uvm_pager.c,v 1.36 2000/11/27 18:26:41 chs Exp $ */ /* @@ -755,14 +755,12 @@ void uvm_aio_aiodone_pages(struct vm_page **pgs, int npages, boolean_t write, int error) { - struct uvm_object *uobj; struct vm_page *pg; struct rwlock *slock; boolean_t swap; int i, swslot; slock = NULL; - uobj = NULL; pg = pgs[0]; swap = (pg->uanon != NULL && pg->uobject == NULL) || (pg->pg_flags & PQ_AOBJ) != 0; |