From nobody Sun Dec 05 22:14:52 2021 X-Original-To: dev-commits-src-all@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 6063018CEF7F; Sun, 5 Dec 2021 22:14:53 +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 4J6gpj0T4nz3m4r; Sun, 5 Dec 2021 22:14:53 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E423220022; Sun, 5 Dec 2021 22:14:52 +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 1B5MEqhP011726; Sun, 5 Dec 2021 22:14:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B5MEqV1011725; Sun, 5 Dec 2021 22:14:52 GMT (envelope-from git) Date: Sun, 5 Dec 2021 22:14:52 GMT Message-Id: <202112052214.1B5MEqV1011725@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Scott Long Subject: git: cc557faf869a - main - Fix "set but not used" in cardbus List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: scottl X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc557faf869a59b97f775284749648b57948cef2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638742493; 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=CIKAxRc+xlg59PtdDU8B0eA/m58+oLSnhj0jLdyNdw4=; b=TqEg2NCQ8GOllRWLNPPrhv9jVkCft7l3MgCK+5glbm+Pgi3SPjSD+AVc0wVFwcpNQ5coqT m3pbgMKEAC67FinoDlgAdu9B8Zewx903LCQiTYIAFclkIc9iD+SgDX6ZA06Rdkbn0V0JWu ZJLI/Q9VipO3tSMmR/y6dfRJD2nlvOsHm9IttN4C9+4xQReDJqcgSUyUBvi47Ddf+2c476 rN4OIYHnJn7Vtwjr1TQdbW/+QwwqlC5uJByU+kQFx7kEn3wFNuMv6yX9pz7B94GPXe7tvG V9RAQG3cWMM1WAfVwMOnFpw8W54JXQwXMOi/6SvUztTpZOlwMIv3xHc7nnni+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638742493; a=rsa-sha256; cv=none; b=G48bnPj9h5iwJGjpW1/4JJGY/HXzxHkLucLFs1pCC0fDxmM2AZpE5GLceK6YU42Z6GPQrV GQUgNYHOEAeUw+lWYxRoyonNgFx533ajOQAzeftwhRJxQDVcgfNiOP6w8oqXlv4bhEg7dN TatVQUJ55fPPv4thAgJ693zP05wloHiV+aR2dN7E8cIqF8VM1I85tkA1+2aiWFi0lID/3F AKSSUBtATu29FUI4012DYbY5zvsAmtUpJy2cS0foptEDrBhSotqq5T14jKGR3i6xOZKEXi ik53HBv+zPsna2bTGWvn79HrubXHSCtARbP2G0vefxi1K4Dvo5CXsUZVw9Q5mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=cc557faf869a59b97f775284749648b57948cef2 commit cc557faf869a59b97f775284749648b57948cef2 Author: Scott Long AuthorDate: 2021-12-05 22:14:35 +0000 Commit: Scott Long CommitDate: 2021-12-05 22:14:35 +0000 Fix "set but not used" in cardbus Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/cardbus/cardbus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 50a21dfc0b82..f13e0ac4675c 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -317,10 +317,8 @@ static int cardbus_read_ivar(device_t cbdev, device_t child, int which, uintptr_t *result) { struct cardbus_devinfo *dinfo; - pcicfgregs *cfg; dinfo = device_get_ivars(child); - cfg = &dinfo->pci.cfg; switch (which) { case PCI_IVAR_ETHADDR: