From 7d09df468dda3421d8f811dfaeb63ac3086853f1 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 26 Jan 2022 13:59:06 +0100 Subject: [PATCH] virtio-devices: Remove unused method from VirtioDevice trait Signed-off-by: Sebastien Boeuf --- virtio-devices/src/device.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/virtio-devices/src/device.rs b/virtio-devices/src/device.rs index 513e3198b..31d243f4d 100644 --- a/virtio-devices/src/device.rs +++ b/virtio-devices/src/device.rs @@ -127,10 +127,6 @@ pub trait VirtioDevice: Send { std::unimplemented!() } - fn iommu_translate(&self, addr: u64) -> u64 { - addr - } - /// Some devices may need to do some explicit shutdown work. This method /// may be implemented to do this. The VMM should call shutdown() on /// every device as part of shutting down the VM. Acting on the device