diff options
-rw-r--r-- | drivers/gpu/drm/nova/bios.rs | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/nova/gpu.rs | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/nova/nova_drv.rs | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nova/bios.rs b/drivers/gpu/drm/nova/bios.rs index c0443cff69ac..c44e4a40b24b 100644 --- a/drivers/gpu/drm/nova/bios.rs +++ b/drivers/gpu/drm/nova/bios.rs @@ -7,7 +7,6 @@ use crate::BAR_SIZE; use crate::fwsec::FalconUCodeDescV3; -use core::ptr::read_unaligned; const PROM_OFFSET: usize = 0x300000; #[repr(C)] diff --git a/drivers/gpu/drm/nova/gpu.rs b/drivers/gpu/drm/nova/gpu.rs index 30c248bd2112..382303866cd3 100644 --- a/drivers/gpu/drm/nova/gpu.rs +++ b/drivers/gpu/drm/nova/gpu.rs @@ -1,11 +1,8 @@ use kernel::{ - bindings, - error::Error, error::Result, io_mem::IoMem, c_str, - device::{self, Device, RawDevice}, firmware::{Firmware}, pci, }; diff --git a/drivers/gpu/drm/nova/nova_drv.rs b/drivers/gpu/drm/nova/nova_drv.rs index 3fd5431a3f8c..c2bf7be4dd0b 100644 --- a/drivers/gpu/drm/nova/nova_drv.rs +++ b/drivers/gpu/drm/nova/nova_drv.rs @@ -15,7 +15,6 @@ use kernel::{ c_str, driver, error::code::*, - firmware::{Firmware}, io_mem::IoMem, pci, pci::define_pci_id_table, prelude::*, |