HomeFreeBSD

riscv: Don't need to check the return value with NULL

Description

riscv: Don't need to check the return value with NULL

The return value from pmap_l1_to_l2 and pmap_l2_to_l3 will never be
NULL, so don't need to check their return value with NULL.

Reviewed by: markj, mhorne
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/1311

Details

Provenance
wy-chung <wy-chung@outlook.com>Authored on Jul 1 2024, 9:01 AM
mhorneCommitted on Jul 8 2024, 3:43 PM
Parents
rG85f7c98d85e4: sdt: Fix aframe handling after commit ddf0ed09bd8f
Branches
Unknown
Tags
Unknown