Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Some KNF. NFC.
details: https://anonhg.NetBSD.org/src/rev/c2deb999e432
branches: trunk
changeset: 1017267:c2deb999e432
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 20 11:11:34 2020 +0000
description:
Some KNF. NFC.
diffstat:
sys/uvm/uvm_page.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 45f82568502a -r c2deb999e432 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Sun Dec 20 10:59:21 2020 +0000
+++ b/sys/uvm/uvm_page.c Sun Dec 20 11:11:34 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.249 2020/10/18 18:31:31 chs Exp $ */
+/* $NetBSD: uvm_page.c,v 1.250 2020/12/20 11:11:34 skrll Exp $ */
/*-
* Copyright (c) 2019, 2020 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.249 2020/10/18 18:31:31 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.250 2020/12/20 11:11:34 skrll Exp $");
#include "opt_ddb.h"
#include "opt_uvm.h"
@@ -560,7 +560,7 @@
addr = pmap_steal_memory(size, &virtual_space_start,
&virtual_space_end);
- return(addr);
+ return addr;
#else /* !PMAP_STEAL_MEMORY */
@@ -604,7 +604,7 @@
pmap_kenter_pa(vaddr, paddr, VM_PROT_READ|VM_PROT_WRITE, 0);
}
pmap_update(pmap_kernel());
- return(addr);
+ return addr;
#endif /* PMAP_STEAL_MEMORY */
}
Home |
Main Index |
Thread Index |
Old Index