Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2019 17:23:24 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348634 - stable/12/sys/riscv/riscv
Message-ID:  <201906041723.x54HNOoL097443@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906041723.x54HNOoL097443>