Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/ibm4xx pmap_enter_pv(): No need to initiali...



details:   https://anonhg.NetBSD.org/src/rev/fd738faa64cf
branches:  trunk
changeset: 985715:fd738faa64cf
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Sep 05 12:23:40 2021 +0000

description:
pmap_enter_pv(): No need to initialize npv to NULL.

No functional changes intended.

diffstat:

 sys/arch/powerpc/ibm4xx/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f0853da2c44f -r fd738faa64cf sys/arch/powerpc/ibm4xx/pmap.c
--- a/sys/arch/powerpc/ibm4xx/pmap.c    Sun Sep 05 12:05:05 2021 +0000
+++ b/sys/arch/powerpc/ibm4xx/pmap.c    Sun Sep 05 12:23:40 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.101 2021/09/05 12:05:05 rin Exp $   */
+/*     $NetBSD: pmap.c,v 1.102 2021/09/05 12:23:40 rin Exp $   */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.101 2021/09/05 12:05:05 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.102 2021/09/05 12:23:40 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -706,7 +706,7 @@
 static inline int
 pmap_enter_pv(struct pmap *pm, vaddr_t va, paddr_t pa, int flags)
 {
-       struct pv_entry *pv, *npv = NULL;
+       struct pv_entry *pv, *npv;
        int s;
 
        if (!pmap_initialized)



Home | Main Index | Thread Index | Old Index