mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
619f964747
commit
360e155cac
@@ -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],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user