summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_page.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2021-03-26 13:40:06 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2021-03-26 13:40:06 +0000
commitadd89e71d9c5838dfefc6777e4811780334de97d (patch)
tree75fa848c0df1e6d346a74623681e86d6d30f1ee2 /sys/uvm/uvm_page.h
parentb5e05aaf3d967427bc39a710364710a4d5e75add (diff)
Remove parenthesis around return value to reduce the diff with NetBSD.
No functional change. ok mlarkin@
Diffstat (limited to 'sys/uvm/uvm_page.h')
-rw-r--r--sys/uvm/uvm_page.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h
index 6cf40f30e2b..e29a872bf39 100644
--- a/sys/uvm/uvm_page.h
+++ b/sys/uvm/uvm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.h,v 1.65 2020/09/22 14:31:08 mpi Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.66 2021/03/26 13:40:05 mpi Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
@@ -256,9 +256,9 @@ vm_physseg_find(paddr_t pframe, int *offp)
if (pframe >= vm_physmem[0].start && pframe < vm_physmem[0].end) {
if (offp)
*offp = pframe - vm_physmem[0].start;
- return(0);
+ return 0;
}
- return(-1);
+ return -1;
}
/*