From nobody Sun Apr 3 15:30:23 2022 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 6A96C1A411D7; Sun, 3 Apr 2022 15:30:24 +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 4KWdC41Xtwz4Twx; Sun, 3 Apr 2022 15:30:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648999824; 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=ao0Zat2IOjBwis98OLg5xIhhDOMVw2tg6Y/cpRu1B4A=; b=mBOL18NJb+hNB7vN05G4sx7UsXroKtonagqzmjrCCO3nsVOzT3gZrNWXqSQTG72zmc1nSa kpAf5qBbrAqmVUg73fXtO2VrTdSEuAsPiO0lAmQFwGrjYNqYNxFx8Mf3TOJdK9PnXIPtaq GNwEX7yPbI2zo3bEQ4j4XnWv6GFPOu9+SvuXBl5opevPpPCDqL5OgH2DJsc7bY7TODaXGW VWFsZHLrrK2mokpbWNhGcyUwte7TLtPCxGm1pe2WJJKhkLtl8LD0EX4VS4sC69p9lpNjAF fOctCBtWlSVsYJULB00vWJlOr42sRz+WchFl09IEowZvtNHhmgdmV6a9C/IGew== 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 DF79F1FF93; Sun, 3 Apr 2022 15:30:23 +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 233FUN7g006092; Sun, 3 Apr 2022 15:30:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 233FUNNW006091; Sun, 3 Apr 2022 15:30:23 GMT (envelope-from git) Date: Sun, 3 Apr 2022 15:30:23 GMT Message-Id: <202204031530.233FUNNW006091@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 823b5cfbabb9 - main - mii_fdt: fix a set-but-not-used warning 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 823b5cfbabb93294c9294c1b1b2cbeb5a61af74b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648999824; 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=ao0Zat2IOjBwis98OLg5xIhhDOMVw2tg6Y/cpRu1B4A=; b=ECkregHtUu/qV+650F1AWqtCU7vO4/q2mMddyPdETSYi1z/dJTBUVO0wNyMrFCstvjzbZN aMByMzyt7e2cEk9knuclnSIFDkATpOLTOfQ02eRSE8UCRClK2oK8vDGXXiyvjXz+uVJmTT SqvpnebcFpByDnnPwms5fnELE/JOMOiALwA6gKShHp240b771Q3kPr9AqyADghCN8P3cIn PJ0H865u3JO9P6e9zF+5OLcARvfDia4VDErBg+giBG9E7tXp0XffDiF+Oj4QBCrZpyN00H Ws1tZagDcq4dW7ReE9nMbwJjAK6L1HsfSu+J1Hs6Z0PgvjFBOYAL6Q0muJktnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648999824; a=rsa-sha256; cv=none; b=LFQXF/QpLseEY2Ni6crgF/LvHBPR1uNr/2TWRgeNMPOaVhBHeUL1DMWpC1IqdqiLmkD6Lp Xw2Sm+ol1DFo9MiPN51QiKmsNFVb+rZAOm9QuF82H7RqxNKO+G1VnnAzQxcBqoLJRJwz66 dtO0iNzwDN63VfcTUJh8czBNkeSFwtpbkqEuIFWwjToj+3sDE9hHYdS7d8NOa/6Rs4ypz/ OPa7CSIMoKTD2OFmEuqEeEZoy+QsbGj6JLkrZ9ElsafU+GNqVtSfN6Af9fgT+eV9CBIsaM 0F4UjggGCbOpudgrGTp2xpIHqyp4oTUsHXNqKuMXVjmymidrFTIxKL1yIW0Ifg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=823b5cfbabb93294c9294c1b1b2cbeb5a61af74b commit 823b5cfbabb93294c9294c1b1b2cbeb5a61af74b Author: Mitchell Horne AuthorDate: 2022-03-30 21:45:54 +0000 Commit: Mitchell Horne CommitDate: 2022-04-03 15:28:37 +0000 mii_fdt: fix a set-but-not-used warning --- sys/dev/mii/mii_fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/mii/mii_fdt.c b/sys/dev/mii/mii_fdt.c index 9cf3fd2fab37..d60c91cc0c8c 100644 --- a/sys/dev/mii/mii_fdt.c +++ b/sys/dev/mii/mii_fdt.c @@ -257,13 +257,11 @@ static int miibus_fdt_attach(device_t dev) { struct mii_attach_args *ma; - struct mii_data *sc; int i, error, nchildren; device_t parent, *children; phandle_t phy_node; parent = device_get_parent(dev); - sc = device_get_softc(dev); error = device_get_children(dev, &children, &nchildren); if (error != 0 || nchildren == 0)