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:
stevenhorsman 2023-09-05 14:10:50 +01:00
parent 75cfdd5d59
commit bbf1919516

View File

@ -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")]