diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-05-25 16:57:40 +0300 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-25 21:18:08 +0300 |
| commit | 2cf1840b0fa7637b6731fd554529f8d57ea34c04 (patch) | |
| tree | bf44daceb6ce7bdc38ef3bcc66f838cd6cee8c59 | |
| parent | c70fe8b2bacf6208263b728a742538f74c5da1ec (diff) | |
| download | linux-2cf1840b0fa7637b6731fd554529f8d57ea34c04.tar.xz | |
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>
| -rw-r--r-- | drivers/gpu/nova-core/vbios.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/nova-core/vbios.rs index b14f9ebdc68f..c0bc1008ed75 100644 --- a/drivers/gpu/nova-core/vbios.rs +++ b/drivers/gpu/nova-core/vbios.rs @@ -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 @@ impl BiosImage { data_copy.extend_from_slice(data, GFP_KERNEL)?; Ok(BiosImage { - rom_header, pcir, npde, data: data_copy, |
