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

Signed-off-by: Eliot Courtney <[email protected]>
---
 drivers/gpu/nova-core/vbios.rs | 4 ----
 1 file changed, 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 @@ 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,

-- 
2.54.0

Reply via email to