From nobody Mon Mar 7 13:29:49 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 DDAD119F6DB4; Mon, 7 Mar 2022 13:29:49 +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 4KBzpP5XjXz4pFq; Mon, 7 Mar 2022 13:29:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646659789; 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=Nrn7ip0lOVAACQCPfbmWMQGtqNQIvakYaANHFFXKbJk=; b=YG6Bc7s0lkB0cOszwnH85Ql9s2DSgyFjzGCw6y9x7czvx05lGbmXUS5vLD6QWfHWU3pg6P nhmzfQeIoQTRbhjbl3nBstQRFhMCmLw8Taoc4DEJPPnOPvIgq2iTmMmKGMLSJrn5zZNCr9 H4g3FOeCFf5RIW3Xyg4I5qp5QM/dDh2SLLU0gOzA5c7qlVi4S4BKmMmfov0ozPKuzy+iIq g7CTHenwxCF7bCSSnyxZZouaFqxhb0ccH189a+bv54eBMf4/qUn6GNvfETNyYNlH6RvRRQ VYh5MbhXcLtlKHvI9lN9vLWEzz1FVicmK5ZWNl3Pr97kWtymPZbdljslHM5rPw== 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 97BC9E6F; Mon, 7 Mar 2022 13:29:49 +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 227DTnSk060161; Mon, 7 Mar 2022 13:29:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227DTnIT060160; Mon, 7 Mar 2022 13:29:49 GMT (envelope-from git) Date: Mon, 7 Mar 2022 13:29:49 GMT Message-Id: <202203071329.227DTnIT060160@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: a2c1c5763978 - stable/13 - axe: 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: a2c1c5763978f348259777f2e0aa51b53a485518 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646659789; 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=Nrn7ip0lOVAACQCPfbmWMQGtqNQIvakYaANHFFXKbJk=; b=wRLghDuIuynKdeY5BFHINCU22hewyuEmrH7OiOSkHsh16eHld4JRBXPto2XfaRspEZfaa6 RJ2dxfsWNHDhgXeJZMlsQemmoJcTBRWK7+34tUZx2uUtNL5BC1BC46Ho9R2R9whP+WSwNV lVZa6uuTMaq18knwnDMQI6Lf1GzlGZFpP6i5M6G65TBX+PvhfEIdBmUPUZpFFrKh4Z3ZS7 MgKmFGx1ymnMgxXW7yo/i0jkV+XbcU/kB+sJtY76cMDuYDjPuzkrrxNTZByaKu73EsTXuP z/j50HNXLcZgJUNJCUrNIMdJsL1quahk3y1pHa3YuD9r5hwpOWI7fk5NF/MYbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646659789; a=rsa-sha256; cv=none; b=s94XdWLmq7wAN/YcCOsyQ7BS4P/TQJ7phjjHDqzr6zcE/3TJgwYCW3Qq+dlCG5S7ivuT4U q9NosEWRjjizx68mw6lfnnBSSQFey0qZJU22pDsaHIuMxiR0PUtlSJ/G4gMEbiYNV8pK7G kYfp+wZYyZCr3jpo7n0OI5nxuM3JFeE9Vmsfte5/Hy/dqcyEQnlWvZvrP+hYNaecTRRc9I BVxHs6c4NzI4Z1if2DcRsHz2Rwg1GrsOMyFpjt5ZBAMuopZzuOynDRJX4RFwp2rZP9Mii0 tw5h+SGGgcvxJLZ4DEd91ihOADry1I9Ks8g9/y6Uo1enRCSoS7Tg4yo1B0NEeg== 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=a2c1c5763978f348259777f2e0aa51b53a485518 commit a2c1c5763978f348259777f2e0aa51b53a485518 Author: Mark Johnston AuthorDate: 2022-02-28 16:07:19 +0000 Commit: Mark Johnston CommitDate: 2022-03-07 13:18:03 +0000 axe: Fix a -Wunused-but-set-variable warning (cherry picked from commit f4a5d1f6c4405b0bdf62481617f66afa1da3527d) --- sys/dev/usb/net/if_axe.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c index 6da8d7f9b971..faef9cd3cb90 100644 --- a/sys/dev/usb/net/if_axe.c +++ b/sys/dev/usb/net/if_axe.c @@ -709,9 +709,6 @@ axe_ax88772_init(struct axe_softc *sc) static void axe_ax88772_phywake(struct axe_softc *sc) { - struct usb_ether *ue; - - ue = &sc->sc_ue; if (sc->sc_phyno == AXE_772_PHY_NO_EPHY) { /* Manually select internal(embedded) PHY - MAC mode. */ axe_cmd(sc, AXE_CMD_SW_PHY_SELECT, 0, AXE_SW_PHY_SELECT_SS_ENB |