gpu: nova-core: vbios: remove unused rom_header field

This is only used during construction, so we can remove it.

Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260525-fix-vbios-v5-22-e5e455251537@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
Eliot Courtney 2026-05-25 22:57:40 +09:00 committed by Danilo Krummrich
parent c70fe8b2ba
commit 2cf1840b0f

View File

@ -663,9 +663,6 @@ pub(crate) struct FwSecBiosImage {
///
/// A BiosImage struct is embedded into all image types and implements common operations.
struct BiosImage {
/// PCI ROM Expansion Header
#[expect(dead_code)]
rom_header: PciRomHeader,
/// PCI Data Structure
pcir: PcirStruct,
/// NVIDIA PCI Data Extension (optional)
@ -741,7 +738,6 @@ fn new(dev: &device::Device, data: &[u8]) -> Result<Self> {
data_copy.extend_from_slice(data, GFP_KERNEL)?;
Ok(BiosImage {
rom_header,
pcir,
npde,
data: data_copy,