mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
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:
parent
c70fe8b2ba
commit
2cf1840b0f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user