efi loader: Move 'module' variable under #ifdef MODINFOMD_MODULEP.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 27 Jun 2023 17:19:32 +0000 (10:19 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 27 Jun 2023 17:19:32 +0000 (10:19 -0700)
commitb9f56cabeda4c05c8dec1dd0315ccea45f5739da
tree6ab1ca508858f6457c325759e678a403fee07b9b
parenteca9714e4bf299cd704eb9e28a06a97d1bb1c301
efi loader: Move 'module' variable under #ifdef MODINFOMD_MODULEP.

This quiets a set but unused warning on platforms without this module
info such as aarch64.

Differential Revision: https://reviews.freebsd.org/D40672
stand/efi/loader/bootinfo.c