diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2020-10-15 20:21:15 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2020-10-15 20:21:15 +0000 |
commit | ce4900bc8adfa34bae6d3ac01ff71ee07e32ec2a (patch) | |
tree | d10722424cc23ccf944b5a6b15a83a1a2d44f8d7 /sys/riscv | |
parent | a98fa52ec6a656f9b1d8c4b00722ebba15a0efef (diff) | |
download | src-ce4900bc8adfa34bae6d3ac01ff71ee07e32ec2a.tar.gz src-ce4900bc8adfa34bae6d3ac01ff71ee07e32ec2a.zip |
Simplify preload_dump() condition
Hiding this feature behind RB_VERBOSE is gratuitous. The tunable is enough
to limit its use to only those who explicitly request it.
Suggested by: kevans
Notes
Notes:
svn path=/head/; revision=366737
Diffstat (limited to 'sys/riscv')
-rw-r--r-- | sys/riscv/riscv/machdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c index b71f24ad4920..550d440cddc1 100644 --- a/sys/riscv/riscv/machdep.c +++ b/sys/riscv/riscv/machdep.c @@ -954,8 +954,7 @@ initriscv(struct riscv_bootparams *rvbp) * output is required. If it's grossly incorrect the kernel will never * make it this far. */ - if ((boothowto & RB_VERBOSE) && - getenv_is_true("debug.dump_modinfo_at_boot")) + if (getenv_is_true("debug.dump_modinfo_at_boot")) preload_dump(); init_proc0(rvbp->kern_stack); |