mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
vmm: acpi: Remove incorrect return statement
_EJx built in should not return. dsdt.dsl 813: Return (CEJ0 (0x00)) Warning 3104 - ^ Reserved method should not return a value (_EJ0) dsdt.dsl 813: Return (CEJ0 (0x00)) Error 6080 - ^ Called method returns no value Fixes: #2216 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
c29caf2a85
commit
952f9bd3fe
@ -1133,10 +1133,7 @@ impl Aml for CPU {
|
||||
1,
|
||||
false,
|
||||
// Call into CEJ0 method which will actually eject device
|
||||
vec![&aml::Return::new(&aml::MethodCall::new(
|
||||
"CEJ0".into(),
|
||||
vec![&self.cpu_id],
|
||||
))],
|
||||
vec![&aml::MethodCall::new("CEJ0".into(), vec![&self.cpu_id])],
|
||||
),
|
||||
],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user