virtio-devices: vsock: Remove write_config() implementation

This warning generating implementation can be handled by the version in
VirtioDevice.

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

View File

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