summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2024-01-11 15:49:53 +0100
committerDanilo Krummrich <dakr@redhat.com>2024-01-11 19:16:25 +0100
commite4658c82aa64793fb09868683f62f863e004f0b5 (patch)
tree54548290f190500e88b92fba2324b1e8cbc020d1
parentc4d3e5eceb1fcd1feb209034d9e5a3c52d6e0ce9 (diff)
nova: fix unused include warnings
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
-rw-r--r--drivers/gpu/drm/nova/nova_drv.rs14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/gpu/drm/nova/nova_drv.rs b/drivers/gpu/drm/nova/nova_drv.rs
index 0dd0735db674..627054515bc1 100644
--- a/drivers/gpu/drm/nova/nova_drv.rs
+++ b/drivers/gpu/drm/nova/nova_drv.rs
@@ -1,6 +1,5 @@
//! Nova GPU Driver
-// For now, catch 'em all!
mod gpu;
mod bios;
@@ -9,27 +8,18 @@ mod fwsec;
use crate::gpu::CardType;
use alloc::boxed::Box;
use core::{
- cell::UnsafeCell,
- convert::TryInto,
format_args,
pin::Pin,
- sync::atomic::{AtomicU16, AtomicU32, AtomicU64, Ordering},
};
use kernel::{
bindings,
c_str,
- device::{self, Device, RawDevice},
- dma, driver,
+ driver,
error::code::*,
firmware::{Firmware},
io_mem::IoMem,
- new_mutex, new_spinlock, pci,
- pci::define_pci_id_table,
+ pci, pci::define_pci_id_table,
prelude::*,
- stack_pin_init,
- sync::Mutex,
- sync::{Arc, SpinLock},
- types::AtomicOptionalBoxedPtr,
};
use gpu::Gpu;