From cd7eecc0b05ecac241e754487dae810b4d899dd2 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 22 Aug 2023 10:04:36 +0100 Subject: [PATCH] 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 --- devices/src/pvpanic.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devices/src/pvpanic.rs b/devices/src/pvpanic.rs index a52eed285..1ea028017 100644 --- a/devices/src/pvpanic.rs +++ b/devices/src/pvpanic.rs @@ -38,9 +38,8 @@ pub enum PvPanicError { RetrievePciConfigurationState(#[source] anyhow::Error), } -#[allow(dead_code)] #[derive(Copy, Clone)] -pub enum PvPanicSubclass { +enum PvPanicSubclass { Other = 0x80, }