diff options
author | Danilo Krummrich <dakr@redhat.com> | 2024-01-11 19:46:08 +0100 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2024-01-11 19:53:45 +0100 |
commit | a14b0f3f594b6151d15199d6d0c378023dbcfcef (patch) | |
tree | 64cb92478c9cda9a9d0e119be6a6eb3a489cd925 | |
parent | 76ced42347100effcc8c4bd159fc7caa5f9eb220 (diff) |
nova: remove unused imports
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
-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::*, |