From 5d67338b295a0de1f93db354f94f9c489ec36073 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 16 Jul 2020 10:05:20 +0100 Subject: [PATCH] virtio-devices: Remove warning generating read_config() implementation The version in VirtioDevice can be used instead. Signed-off-by: Rob Bradford --- virtio-devices/src/rng.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/virtio-devices/src/rng.rs b/virtio-devices/src/rng.rs index a33db67f0..ffd538902 100644 --- a/virtio-devices/src/rng.rs +++ b/virtio-devices/src/rng.rs @@ -288,10 +288,6 @@ impl VirtioDevice for Rng { self.acked_features |= v; } - fn read_config(&self, _offset: u64, _data: &mut [u8]) { - warn!("No currently device specific configration defined"); - } - fn activate( &mut self, mem: GuestMemoryAtomic,