Cast result of pgo_put() to (void) as is the style with other calls to
pgo_put() in UVM. Pointed out by Andrew Brown.
This commit is contained in:
parent
4552b31f45
commit
a2bdcc915e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uvm_pdaemon.c,v 1.49 2003/02/23 04:54:27 simonb Exp $ */
|
||||
/* $NetBSD: uvm_pdaemon.c,v 1.50 2003/02/25 00:22:20 simonb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.49 2003/02/23 04:54:27 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.50 2003/02/25 00:22:20 simonb Exp $");
|
||||
|
||||
#include "opt_uvmhist.h"
|
||||
|
||||
@ -531,7 +531,7 @@ uvmpd_scan_inactive(pglst)
|
||||
|
||||
if ((p->pqflags & PQ_SWAPBACKED) == 0) {
|
||||
uvm_unlock_pageq();
|
||||
(uobj->pgops->pgo_put)(uobj, p->offset,
|
||||
(void) (uobj->pgops->pgo_put)(uobj, p->offset,
|
||||
p->offset + PAGE_SIZE,
|
||||
PGO_CLEANIT|PGO_FREE);
|
||||
uvm_lock_pageq();
|
||||
|
Loading…
Reference in New Issue
Block a user