From patchwork Tue Jun 7 17:02:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 12872159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F6E9C433EF for ; Tue, 7 Jun 2022 17:03:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345373AbiFGRDc (ORCPT ); Tue, 7 Jun 2022 13:03:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345357AbiFGRD1 (ORCPT ); Tue, 7 Jun 2022 13:03:27 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3C8C5FF594 for ; Tue, 7 Jun 2022 10:03:26 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3645814BF; Tue, 7 Jun 2022 10:03:26 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BCE8B3F66F; Tue, 7 Jun 2022 10:03:24 -0700 (PDT) From: Jean-Philippe Brucker To: will@kernel.org Cc: andre.przywara@arm.com, alexandru.elisei@arm.com, kvm@vger.kernel.org, suzuki.poulose@arm.com, sasha.levin@oracle.com, jean-philippe@linaro.org Subject: [PATCH kvmtool 08/24] virtio/console: Remove unused callback Date: Tue, 7 Jun 2022 18:02:23 +0100 Message-Id: <20220607170239.120084-9-jean-philippe.brucker@arm.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607170239.120084-1-jean-philippe.brucker@arm.com> References: <20220607170239.120084-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Remove unused set_status() callback Signed-off-by: Jean-Philippe Brucker --- virtio/balloon.c | 5 ----- 1 file changed, 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,