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

(cherry picked from commit e895ab3fbdc10fbf944289165c25357cb3f279fe)

Details

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