virtio-devices: Remove warning generating read_config() implementation

The version in VirtioDevice can be used instead.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-07-16 10:05:20 +01:00 committed by Sebastien Boeuf
parent 676322c3cc
commit 5d67338b29

View File

@ -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<GuestMemoryMmap>,