diff --git a/pci/src/vfio_user.rs b/pci/src/vfio_user.rs index 0a1c24cff..d29454c88 100644 --- a/pci/src/vfio_user.rs +++ b/pci/src/vfio_user.rs @@ -272,22 +272,6 @@ impl BusDevice for VfioUserPciDevice { } } -#[repr(u32)] -#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)] -#[allow(dead_code)] -enum Regions { - Bar0, - Bar1, - Bar2, - Bar3, - Bar4, - Bar5, - Rom, - Config, - Vga, - Migration, -} - struct VfioUserClientWrapper { client: Arc>, }