From nobody Sun Feb 8 20:59:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594818648; cv=none; d=zohomail.com; s=zohoarc; b=lZ+kFT/MVG5IyrvqE4iHDB3K3LLmS/HXF1emHYn7TWZecxsCm2T5C+V9PmopYhSI/D9l+s8vj7YKg8gXS9r4lcvoIALveBYLTtgEN/2T2YD+GIKjAa3cxpBvFRVnT1j+F2iZ80fxy1PeRuLXkQhA+y2mGZkTo5QAhFBX5ldPlx4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594818648; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=AnJjEgD7q/4vJPilVzcZ1j7OmcL/kVt2acoaSkrFwUs=; b=KFdq2ufMwnHZSy/u2ywEZMKJfj2aieOuK1aIriSdyPmrKwZt1OKoitbUpuI+yTzlxE1Idm53gn4YZ0cbeWiJHaUsjrXA+oe94pQeDAC/5WMOaKCd5KxBlY75BczDDZL1rrvXbbJ2BEHUNo94RrI0R8VxBcKIU5oFajSvxByuD7I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1594818648457544.6316982212794; Wed, 15 Jul 2020 06:10:48 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-294-fkV-SXjiOKKdaV-NVpt57w-1; Wed, 15 Jul 2020 09:10:44 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 25F631009457; Wed, 15 Jul 2020 13:10:39 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 045B578A5C; Wed, 15 Jul 2020 13:10:39 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id C546694F19; Wed, 15 Jul 2020 13:10:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06FDAJnF005727 for ; Wed, 15 Jul 2020 09:10:19 -0400 Received: by smtp.corp.redhat.com (Postfix) id CAAB160C84; Wed, 15 Jul 2020 13:10:19 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C15B610AF for ; Wed, 15 Jul 2020 13:10:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594818647; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AnJjEgD7q/4vJPilVzcZ1j7OmcL/kVt2acoaSkrFwUs=; b=Yv0JNN/xBo0eMzCnCkLdci383rfF3BRGTRLydz+15EkmqCajQ9LGIPxZrjXGUKUBoLO7/t ktxH2DsMWPDBW8nDGz/7JG/w13COLXFPUprImxfGnyrGG30mmD5ifzj2/A2Qs/3BSNslYG Fic21FC2twwIMlRCK0hvz7PDtwEAR40= X-MC-Unique: fkV-SXjiOKKdaV-NVpt57w-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 02/10] qemuDomainDiskBackingStoreGetName: Remove unused argument Date: Wed, 15 Jul 2020 15:10:04 +0200 Message-Id: <5cad8616c4e933840f41bc2388b2a4fcea06d0cc.1594818495.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: Eric Blake --- src/qemu/qemu_domain.c | 1 - src/qemu/qemu_domain.h | 1 - src/qemu/qemu_process.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 4a2daffc0a..3d136a6b8a 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -11515,7 +11515,6 @@ qemuDomainDiskLookupByNodename(virDomainDefPtr def, */ char * qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk, - virStorageSourcePtr src G_GNUC_UNUSED, unsigned int idx) { char *ret =3D NULL; diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h index e524fd0002..6944b37ff7 100644 --- a/src/qemu/qemu_domain.h +++ b/src/qemu/qemu_domain.h @@ -963,7 +963,6 @@ virDomainDiskDefPtr qemuDomainDiskLookupByNodename(virD= omainDefPtr def, unsigned int *idx); char *qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk, - virStorageSourcePtr src, unsigned int idx); virStorageSourcePtr qemuDomainGetStorageSourceByDevstr(const char *devstr, diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 70fc24b993..2ee778c606 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -1514,7 +1514,7 @@ qemuProcessHandleBlockThreshold(qemuMonitorPtr mon G_= GNUC_UNUSED, if (virStorageSourceIsLocalStorage(src)) path =3D src->path; - if ((dev =3D qemuDomainDiskBackingStoreGetName(disk, src, idx))) + if ((dev =3D qemuDomainDiskBackingStoreGetName(disk, idx))) event =3D virDomainEventBlockThresholdNewFromObj(vm, dev, path, threshold, exce= ss); } --=20 2.26.2