mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
devices: pvpanic: Clean up struct visibility
There is no need for this struct to be public and since it is used in this module the #[allow(dead_code)] invocation can be removed. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
committed by
Rob Bradford
parent
78ec651cbf
commit
cd7eecc0b0
@@ -38,9 +38,8 @@ pub enum PvPanicError {
|
|||||||
RetrievePciConfigurationState(#[source] anyhow::Error),
|
RetrievePciConfigurationState(#[source] anyhow::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub enum PvPanicSubclass {
|
enum PvPanicSubclass {
|
||||||
Other = 0x80,
|
Other = 0x80,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user