diff mbox series

[kvmtool,08/24] virtio/console: Remove unused callback

Message ID 20220607170239.120084-9-jean-philippe.brucker@arm.com (mailing list archive)
State New, archived
Headers show
Series Virtio v1 support | expand

Commit Message

Jean-Philippe Brucker June 7, 2022, 5:02 p.m. UTC
Remove unused set_status() callback

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
---
 virtio/balloon.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/virtio/balloon.c b/virtio/balloon.c
index 753171d1..f06955d2 100644
--- a/virtio/balloon.c
+++ b/virtio/balloon.c
@@ -214,10 +214,6 @@  static void set_guest_features(struct kvm *kvm, void *dev, u32 features)
 	bdev->features = features;
 }
 
-static void notify_status(struct kvm *kvm, void *dev, u32 status)
-{
-}
-
 static int init_vq(struct kvm *kvm, void *dev, u32 vq)
 {
 	struct bln_dev *bdev = dev;
@@ -272,7 +268,6 @@  struct virtio_ops bln_dev_virtio_ops = {
 	.get_host_features	= get_host_features,
 	.set_guest_features	= set_guest_features,
 	.init_vq		= init_vq,
-	.notify_status		= notify_status,
 	.notify_vq		= notify_vq,
 	.get_vq			= get_vq,
 	.get_size_vq		= get_size_vq,