From: mpi Date: Fri, 11 Aug 2023 17:53:22 +0000 (+0000) Subject: Kill unused variable in uvm_aio_aiodone_pages(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1819b7e21e7f6b686f978062a795594a5fe6afcf;p=openbsd Kill unused variable in uvm_aio_aiodone_pages(). --- 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;