mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
dragonball: Resolve non-minimal-cfg warning
- In rust 1.72, clippy warned clippy::non-minimal-cfg as the cfg has only one condition, so doesn't need to be wrapped in the all combinators. Fixes: #7902 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
75cfdd5d59
commit
bbf1919516
@ -832,7 +832,7 @@ mod hotplug {
|
||||
|
||||
#[cfg(all(target_arch = "x86_64", feature = "dbs-upcall"))]
|
||||
use dbs_boot::mptable::APIC_VERSION;
|
||||
#[cfg(all(target_arch = "aarch64"))]
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
const APIC_VERSION: u8 = 0;
|
||||
|
||||
#[cfg(feature = "dbs-upcall")]
|
||||
|
Loading…
Reference in New Issue
Block a user