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

@@ -162,9 +162,6 @@ pub enum Error {
/// Failed to allocate a memory range.
MemoryRangeAllocation,
/// Failed to create map region
MmapRegion(),
/// Error from region creation
GuestMemoryRegion(MmapRegionError),
@@ -195,10 +192,6 @@ pub enum Error {
/// Cannot create the system allocator
CreateSystemAllocator,
/// The number of external backing files doesn't match the number of
/// memory regions.
InvalidAmountExternalBackingFiles,
/// Invalid SGX EPC section size
#[cfg(target_arch = "x86_64")]
EpcSectionSizeInvalid,