From nobody Mon Feb 9 14:17:11 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1618835998; cv=none; d=zohomail.com; s=zohoarc; b=XAO/HFr7tFCmVDGisJ8bX7bBhPLRdP0TYdT4w0AX47RlwwdKR0QyoPIRX0RYoWOh2uhaTC6xTx8xr8gauluowF6DpUCxBYmZMQ6mzQZhk8vECgvfRS/F0WZ/EmXxi+jFlW3r+vZvAcvE+loRe0W7Kh8Bd5xstt4rs+/C5FiGdgk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618835998; 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=FwnUe/cv1Fyiy7t4LG2bTCmRjEsEYYBilzR2gEWhlmI=; b=Ym3vof21Q1JmuV/cJnDQnlawNmNlW4UVDDP/1v3O8K7G+KnclJLHNYRIKE7JfLF7M0eb0EHJ5vlhCqWGdX1sg9Axl419bjx7LKjmevgDyf0+Hdn+aeaJU7h35xM7l5l/0YQGvAGlf1UbBDFqvMrpW57CZYZeA1tYpkCGfBofB6w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 161883599891810.6542643841276; Mon, 19 Apr 2021 05:39:58 -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-161-0Et-JRfNOOa2LjIcf7apqw-1; Mon, 19 Apr 2021 08:39:55 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 925FD87DAFB; Mon, 19 Apr 2021 12:39:48 +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 7430E60C5C; Mon, 19 Apr 2021 12:39:48 +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 3D7D65535D; Mon, 19 Apr 2021 12:39:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13JCaSKq019302 for ; Mon, 19 Apr 2021 08:36:28 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0B01119C66; Mon, 19 Apr 2021 12:36:28 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6789D19C79 for ; Mon, 19 Apr 2021 12:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618835997; 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=FwnUe/cv1Fyiy7t4LG2bTCmRjEsEYYBilzR2gEWhlmI=; b=WmhoaZauphrVa95B10Ac1oYyuxqkeSkTniNWf2SjFj6hVD6G84pktMBfjK86BOcyPRyA00 C9W7VCErkt4KtUaj18d8e3M9/JCfCEUq/pukHhfvNEI16msjhtF9fuEiy130XCLJY8H1W7 LjOhWcJS+xANN7s6kM0aLi+kJhu+fWg= X-MC-Unique: 0Et-JRfNOOa2LjIcf7apqw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 25/38] qemuDomainValidateDevicePCISlotsChipsets: Remove unused @qemuCaps Date: Mon, 19 Apr 2021 14:35:29 +0200 Message-Id: <81598b1523755aa598be1643e9648ca185508c1b.1618834490.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com 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: Pavel Hrdina Reviewed-by: Neal Gompa --- src/qemu/qemu_domain_address.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c index 8a2494947b..fff8816aa8 100644 --- a/src/qemu/qemu_domain_address.c +++ b/src/qemu/qemu_domain_address.c @@ -2020,7 +2020,6 @@ qemuDomainValidateDevicePCISlotsQ35(virDomainDef *def, static int qemuDomainValidateDevicePCISlotsChipsets(virDomainDef *def, - virQEMUCaps *qemuCaps G_GNUC_UNUS= ED, virDomainPCIAddressSet *addrs) { if (qemuDomainIsI440FX(def) && @@ -2602,8 +2601,7 @@ qemuDomainAssignPCIAddresses(virDomainDef *def, if (!(addrs =3D qemuDomainPCIAddressSetCreate(def, qemuCaps, nbuse= s, true))) goto cleanup; - if (qemuDomainValidateDevicePCISlotsChipsets(def, qemuCaps, - addrs) < 0) + if (qemuDomainValidateDevicePCISlotsChipsets(def, addrs) < 0) goto cleanup; /* For domains that have pci-root, reserve 1 extra slot for a @@ -2738,8 +2736,7 @@ qemuDomainAssignPCIAddresses(virDomainDef *def, goto cleanup; if (qemuDomainSupportsPCI(def, qemuCaps)) { - if (qemuDomainValidateDevicePCISlotsChipsets(def, qemuCaps, - addrs) < 0) + if (qemuDomainValidateDevicePCISlotsChipsets(def, addrs) < 0) goto cleanup; if (qemuDomainAssignDevicePCISlots(def, qemuCaps, addrs) < 0) --=20 2.30.2