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 Member will never be null, so remove check.
details: https://anonhg.NetBSD.org/src/rev/a60ee5d8da30
branches: trunk
changeset: 793857:a60ee5d8da30
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 27 18:10:01 2014 +0000
description:
Member will never be null, so remove check.
diffstat:
sys/arch/arm/arm32/pmap.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r dd8e6a4dbe08 -r a60ee5d8da30 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Thu Feb 27 18:09:38 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Thu Feb 27 18:10:01 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.269 2014/02/26 19:59:49 matt Exp $ */
+/* $NetBSD: pmap.c,v 1.270 2014/02/27 18:10:01 joerg Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -209,7 +209,7 @@
#include <arm/locore.h>
#include <arm/arm32/katelib.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.269 2014/02/26 19:59:49 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.270 2014/02/27 18:10:01 joerg Exp $");
#ifdef PMAP_DEBUG
@@ -5115,9 +5115,6 @@
return true;
}
- if (pm->pm_l2 == NULL)
- return false;
-
l2 = pm->pm_l2[L2_IDX(l1idx)];
if (l2 == NULL ||
Home |
Main Index |
Thread Index |
Old Index