aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2022-06-07 18:02:23 +0100
committerWill Deacon <will@kernel.org>2022-06-09 13:44:14 +0100
commit17ad9fd6ce3738df375f2480a91074f9ebf47380 (patch)
tree02863356f2a9aac9aed849d55372cf0483309dbb
parent867b15ccd7dae9ba7a174f97d4fe76e90a79d957 (diff)
downloadkvmtool-17ad9fd6ce3738df375f2480a91074f9ebf47380.tar.gz
virtio/console: Remove unused callback
Remove unused set_status() callback Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Link: https://lore.kernel.org/r/20220607170239.120084-9-jean-philippe.brucker@arm.com Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--virtio/balloon.c5
1 files changed, 0 insertions, 5 deletions
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,