misc: Remove unused errors from public interface

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-05-11 10:18:19 +00:00
committed by Sebastien Boeuf
parent 30b74e74cd
commit b8f5911c4e
10 changed files with 2 additions and 144 deletions

View File

@@ -12,12 +12,6 @@ use std::mem;
use std::result;
use std::sync::Arc;
#[derive(Debug)]
pub enum Error {
GetLapic(anyhow::Error),
SetLapic(anyhow::Error),
}
pub type Result<T> = result::Result<T, hypervisor::HypervisorCpuError>;
// Defines poached from apicdef.h kernel header.

View File

@@ -122,9 +122,6 @@ unsafe impl ByteValued for BootParamsWrapper {}
#[derive(Debug)]
pub enum Error {
/// Invalid e820 setup params.
E820Configuration,
/// Error writing MP table to memory.
MpTableSetup(mptable::Error),