From nobody Mon Mar 07 13:29:54 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B68ED19F711D; Mon, 7 Mar 2022 13:29:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KBzpV4pFtz4p0J; Mon, 7 Mar 2022 13:29:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646659795; h=from:from: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; bh=/6CAbiWBRCyD3FlgOaNoj/FFZHClih6JkPUWWtXGHNQ=; b=x6Hl+FTxEXEL599Qj7Za2ewxfHTEFOottcdRG4U1Qujx8O36WOn9i8BOG1u+WiDaTHB0HA EWyBiwYLO7Ava/vnDM3aUj3E+ljkbo1Le16f7inGddu2p5tu43VRZn4WqZ5bWOg2UlVxBu LoNcZX4uk9ePoBp8BEzHakoUokELFhea/Kuh9uCLW9ZJb+fHCpuyItiBfd8KSbFHiFetta 2Lpd6mAbBPiH4285QsA/aDSZ1lH5suvAxJPg3C/Bwo+7jZio3XQ9lelS4EA29eQtFnptVd jMSDG3HsG3YdL+3KWu/OvSyHuI1VMktad7QdBbCjpifPJFXWO6IKEjWGsDiW+w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 27D00EC5; Mon, 7 Mar 2022 13:29:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 227DTsjY060264; Mon, 7 Mar 2022 13:29:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227DTshF060263; Mon, 7 Mar 2022 13:29:54 GMT (envelope-from git) Date: Mon, 7 Mar 2022 13:29:54 GMT Message-Id: <202203071329.227DTshF060263@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 5d0ccaa45769 - stable/13 - pci: Fix a -Wunused-but-set-variable warning List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 5d0ccaa457698ec74019e21587a325bf09fa4ede Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646659795; h=from:from: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; bh=/6CAbiWBRCyD3FlgOaNoj/FFZHClih6JkPUWWtXGHNQ=; b=pCnfna8V/Wk4ZGc5MjJrsukoacVIWTQDywFcwtTV2mPNgjm/dcLxL5SGJMlrKMLkMVuKCl J8hf+iqbh4fDJinlLJisvKUX4aMM7FiN0amuXS2oLQhmFa6TamDNW/qHb/Oxxa0Sm9QzHr NQ++TKVtMX15QZ64LS5uzFbVTo99RN3/NyxYWtEpevfzVLg0/GTlKi5ZYqo+e+QJ//sWmq WHGtepkPLBDdfECrOCrgw1CmhAaciTyZGv1rGNDxn3OaoK+Azww5U9THxBRvEvprYsGzdK jMzQmhqlIapr4nYleLhP+bgsG6NyafRRrZ27JJ7ppb/Tn0L25yjZZHIWVyWfJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646659795; a=rsa-sha256; cv=none; b=UtagCUFeG4Dv8l/6MKlGZ7ytgR89Sj7fcnZ+Gc4/XA5xEbNZwdKPD9u/pWTA/VOQLBh8Xu G1WQVurJIcMbjg7qkDRK/UzAW0qdSvSqMW3xzhsBHjrNEZ3IHCTefkluHEvQBd33rKMceI bGVjPWyU+ZXKN2jG932Q5nzqF59BXfID4bd9NCKv/o23Mz3AQW5cVZ0OdZkEcc7/1z4zGV CXDhyzOZuOb/b/JY2GJAjgybxOkVM8eQTjFt076kgQqmpEqv4B/vVQfcBzCXV7my0v451X hlh2A8rqIpGxDExHjc92DUftrw7N/1k4BfEl98KQbLxt1vlKmussXqplY6mapQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=5d0ccaa457698ec74019e21587a325bf09fa4ede commit 5d0ccaa457698ec74019e21587a325bf09fa4ede Author: Mark Johnston AuthorDate: 2022-02-28 15:54:42 +0000 Commit: Mark Johnston CommitDate: 2022-03-07 13:18:45 +0000 pci: Fix a -Wunused-but-set-variable warning (cherry picked from commit 4db93fb278fce5f1034a9868413a641d9554214e) --- sys/dev/pci/pci_iov.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/pci/pci_iov.c b/sys/dev/pci/pci_iov.c index f577640595a9..2a36ec555aae 100644 --- a/sys/dev/pci/pci_iov.c +++ b/sys/dev/pci/pci_iov.c @@ -117,7 +117,6 @@ int pci_iov_attach_method(device_t bus, device_t dev, nvlist_t *pf_schema, nvlist_t *vf_schema, const char *name) { - device_t pcib; struct pci_devinfo *dinfo; struct pcicfg_iov *iov; nvlist_t *schema; @@ -126,7 +125,6 @@ pci_iov_attach_method(device_t bus, device_t dev, nvlist_t *pf_schema, int iov_pos; dinfo = device_get_ivars(dev); - pcib = device_get_parent(bus); schema = NULL; error = pci_find_extcap(dev, PCIZ_SRIOV, &iov_pos);