From 676322c3cc415fef14eb7ab913fc0484e6989afe Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 16 Jul 2020 10:03:31 +0100 Subject: [PATCH] virtio-devices: vsock: Remove write_config() implementation This warning generating implementation can be handled by the version in VirtioDevice. Signed-off-by: Rob Bradford --- virtio-devices/src/vsock/device.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/virtio-devices/src/vsock/device.rs b/virtio-devices/src/vsock/device.rs index 10e0f45e2..1bf144f3f 100644 --- a/virtio-devices/src/vsock/device.rs +++ b/virtio-devices/src/vsock/device.rs @@ -519,14 +519,6 @@ where } } - fn write_config(&mut self, offset: u64, data: &[u8]) { - warn!( - "vsock: guest driver attempted to write device config (offset={:x}, len={:x})", - offset, - data.len() - ); - } - fn activate( &mut self, mem: GuestMemoryAtomic,