mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
pci: replace #[allow(dead_code)] with expect()
On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
committed by
Rob Bradford
parent
179d56ca72
commit
04322c185c
@@ -84,7 +84,7 @@ pub trait PciSubclass {
|
||||
}
|
||||
|
||||
/// Subclasses of the MultimediaController class.
|
||||
#[allow(dead_code)]
|
||||
#[expect(dead_code)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum PciMultimediaSubclass {
|
||||
VideoController = 0x00,
|
||||
@@ -101,7 +101,7 @@ impl PciSubclass for PciMultimediaSubclass {
|
||||
}
|
||||
|
||||
/// Subclasses of the BridgeDevice
|
||||
#[allow(dead_code)]
|
||||
#[expect(dead_code)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum PciBridgeSubclass {
|
||||
HostBridge = 0x00,
|
||||
|
||||
Reference in New Issue
Block a user