svn commit: r348634 - stable/12/sys/riscv/riscv
Mark Johnston
markj at FreeBSD.org
Tue Jun 4 17:23:25 UTC 2019
Author: markj
Date: Tue Jun 4 17:23:24 2019
New Revision: 348634
URL: https://svnweb.freebsd.org/changeset/base/348634
Log:
MFC r343529:
Remove a redundant test.
Modified:
stable/12/sys/riscv/riscv/pmap.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/riscv/riscv/pmap.c
==============================================================================
--- stable/12/sys/riscv/riscv/pmap.c Tue Jun 4 17:20:34 2019 (r348633)
+++ stable/12/sys/riscv/riscv/pmap.c Tue Jun 4 17:23:24 2019 (r348634)
@@ -2632,7 +2632,7 @@ restart:
}
}
l3 = pmap_l3(pmap, pv->pv_va);
- if (l3 != NULL && (pmap_load(l3) & PTE_SW_WIRED) != 0)
+ if ((pmap_load(l3) & PTE_SW_WIRED) != 0)
count++;
PMAP_UNLOCK(pmap);
}
More information about the svn-src-stable
mailing list