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:
Rob Bradford 2023-08-22 10:04:36 +01:00 committed by Rob Bradford
parent 78ec651cbf
commit cd7eecc0b0

View File

@ -38,9 +38,8 @@ pub enum PvPanicError {
RetrievePciConfigurationState(#[source] anyhow::Error),
}
#[allow(dead_code)]
#[derive(Copy, Clone)]
pub enum PvPanicSubclass {
enum PvPanicSubclass {
Other = 0x80,
}