From nobody Mon Feb 9 04:59:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1560511573; cv=none; d=zoho.com; s=zohoarc; b=BS1ABH1QKPwMVl2xIbolyw9gCM0jefhViCn0ft+F8F2wN+uBm4P1RjXWlOVQxLtrrwyCiClDW/VZVXD7d7eZpHPrA/ueRJAI78uM43JoJB9YpfFoJjB/7gXHgL15eWiDhIVCGSH9++C6SClwxfIz31dSIJwmW9mSEj8btdEo0tw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560511573; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=nAz5ZDkT5JIzjiPx9J/eyOPTLmMCW6D+XxhDMpiJVec=; b=jsLFKBQ6+dhmFhyHWUhzT+LJQ7/lDH+tQfEKuqwh70h4aSqmA3lOMI9GvYMjfO+AOtFsIgFQjE8RWvIZ+ItTgDH/luXZZMDzUFwbQwoi6YoLCk3msDfYip2bE46q/11zcxhA/Lyh3Opbb8zzV4iKYOyxhO3SPFH4TbNaKdIEsqw= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 156051157332727.121927880842236; Fri, 14 Jun 2019 04:26:13 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hbkKD-0007QT-Hj; Fri, 14 Jun 2019 11:24:53 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hbkKC-0007QA-2p for xen-devel@lists.xenproject.org; Fri, 14 Jun 2019 11:24:52 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 04842d70-8e97-11e9-b1fe-37d331339edf; Fri, 14 Jun 2019 11:24:48 +0000 (UTC) X-Inumbo-ID: 04842d70-8e97-11e9-b1fe-37d331339edf Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=anthony.perard@citrix.com; spf=Pass smtp.mailfrom=anthony.perard@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of anthony.perard@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa2.hc3370-68.iphmx.com: domain of anthony.perard@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="anthony.perard@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="anthony.perard@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: /KsnXc/7nM74rGBfYlgkBO5FOjSlu2K4d4lo5tPjK0TjceeXgNZtIzX+RgUdbwBtlk+9Rr4/E7 5sLqiIWG/b+Wn6hbTRm8t/HAThHFu4ZD3Wl2v1mq/E/vQPtWsSQSyW3bqTBl4mEfBEEhHy2lHj JW0xZ7kIql6rIh4VtcPF4kk9SYqrGqKsPbD2p2keNGa6XHV6fYE8DtdRrTyG3516uoeduAZkkP 0RAIGNKg55AHFRgnp58W8BvZD7Obm7SmLyxzNuO5FRETDLdYrtQ4qoll5sLQtCAcWk4qf/9JYc mHk= X-SBRS: 2.7 X-MesageID: 1737461 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,373,1557201600"; d="scan'208";a="1737461" From: Anthony PERARD To: Date: Fri, 14 Jun 2019 12:24:31 +0100 Message-ID: <20190614112444.29980-3-anthony.perard@citrix.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190614112444.29980-1-anthony.perard@citrix.com> References: <20190614112444.29980-1-anthony.perard@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 02/15] libxl: Remove unused variable in libxl__device_pci_add_xenstore X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Anthony PERARD , Ian Jackson , Wei Liu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" *device isn't used. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- tools/libxl/libxl_pci.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c index 4ec6872798..67677d7b55 100644 --- a/tools/libxl/libxl_pci.c +++ b/tools/libxl/libxl_pci.c @@ -115,7 +115,6 @@ static int libxl__device_pci_add_xenstore(libxl__gc *gc= , uint32_t domid, libxl_d char *num_devs, *be_path; int num =3D 0; xs_transaction_t t =3D XBT_NULL; - libxl__device *device; int rc; libxl_domain_config d_config; libxl_device_pci pcidev_saved; @@ -149,9 +148,6 @@ static int libxl__device_pci_add_xenstore(libxl__gc *gc= , uint32_t domid, libxl_d if (!starting) flexarray_append_pair(back, "state", GCSPRINTF("%d", XenbusStateRe= configuring)); =20 - GCNEW(device); - libxl__device_from_pcidev(gc, domid, pcidev, device); - lock =3D libxl__lock_domain_userdata(gc, domid); if (!lock) { rc =3D ERROR_LOCK_FAIL; --=20 Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel