vmm: 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:
Philipp Schuster
2026-06-03 14:37:14 +02:00
committed by Rob Bradford
parent 619f964747
commit 360e155cac
2 changed files with 7 additions and 5 deletions

View File

@@ -48,9 +48,9 @@ const SEV_HASH_TABLE_PADDING: usize =
#[derive(IntoBytes, Immutable)]
pub struct PaddedSevHashTable {
#[allow(dead_code)]
#[expect(dead_code)]
hash_table: SevHashTable,
#[allow(dead_code)]
#[expect(dead_code)]
padding: [u8; SEV_HASH_TABLE_PADDING],
}