Module Name: src Committed By: joerg Date: Thu Feb 27 18:10:01 UTC 2014
Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Member will never be null, so remove check. To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/arm32/pmap.c diff -u src/sys/arch/arm/arm32/pmap.c:1.269 src/sys/arch/arm/arm32/pmap.c:1.270 --- src/sys/arch/arm/arm32/pmap.c:1.269 Wed Feb 26 19:59:49 2014 +++ src/sys/arch/arm/arm32/pmap.c Thu Feb 27 18:10:01 2014 @@ -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 @@ pmap_get_pde_pte(pmap_t pm, vaddr_t va, return true; } - if (pm->pm_l2 == NULL) - return false; - l2 = pm->pm_l2[L2_IDX(l1idx)]; if (l2 == NULL ||