HomeFreeBSD

stand: Remove dead store to bi_kernelname

Description

stand: Remove dead store to bi_kernelname

We set this value twice: once to 0 and once to the VA that has the name
of the kernel. The first store is redundant. In addition, these two
stores of 0 are also redundant. Since we never set them, they will
always be zero, even if we're called multiple times. This saves 21
bytes on BIOS loader.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D36541

Details

Provenance
impAuthored on Sep 16 2022, 3:09 PM
Differential Revision
D36541: stand: Remove dead store to bi_kernelname
Parents
rGfc352701ff3a: stand: collapse all copies of *copyenv into md_copyenv
Branches
Unknown
Tags
Unknown