Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Remove redundant test - the compiler real...
details: https://anonhg.NetBSD.org/src/rev/6b58308f7987
branches: trunk
changeset: 825658:6b58308f7987
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jul 27 08:10:41 2017 +0000
description:
Remove redundant test - the compiler realised anyway as we get same binary
output
diffstat:
sys/arch/arm/arm32/pmap.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 804895279479 -r 6b58308f7987 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Thu Jul 27 07:53:54 2017 +0000
+++ b/sys/arch/arm/arm32/pmap.c Thu Jul 27 08:10:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.350 2017/07/10 09:30:58 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.351 2017/07/27 08:10:41 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
#include <arm/locore.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.350 2017/07/10 09:30:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.351 2017/07/27 08:10:41 skrll Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -6417,8 +6417,7 @@
if (l2b == NULL)
panic("pmap_alloc_specials: no l2b for 0x%lx", va);
- if (ptep)
- *ptep = &l2b->l2b_kva[l2pte_index(va)];
+ *ptep = &l2b->l2b_kva[l2pte_index(va)];
}
*vap = va;
Home |
Main Index |
Thread Index |
Old Index