From nobody Mon Feb 28 16:11:03 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 7AAD819D9EF1; Mon, 28 Feb 2022 16:11:04 +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 4K6ljh1GH3z3F3W; Mon, 28 Feb 2022 16:11:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646064664; 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=pt8jS2BWLDNL2U9xrMAQJJSASKNpilCEFCxBA182ddc=; b=AUB495m+GMUcaSk8vuRmt9vdA8roC/mHNqNa7rBmKxufGx/Hs5AhQ453oasYER6FCEHFN2 nty8T/JjltkWKLpnrLNl5BgJc50RF9i2NmbG+tyz1iy/83wfQlmRAoGViD7+x+z2IU/b+m P4roje4S9cWpqNAeFWIr9hEsfmFdzhTQk0C+fNAL9/ZppBzC4Tp6zFpkGJq9JOEzvq0v45 lodcSQNgb6+zt8UmKEUk/N9JoVNwupVzrwwK9bwdPSqMFNAk3TCirniWc0EfUO6+eYSb1b 3zpGAuoeh1EKR6RJ55mJpQUQrBPMjOEAXCey+czMF2UmpAeygn1NAXIgVLUAIQ== 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 EC2891E26A; Mon, 28 Feb 2022 16:11:03 +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 21SGB3O9035643; Mon, 28 Feb 2022 16:11:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21SGB35u035642; Mon, 28 Feb 2022 16:11:03 GMT (envelope-from git) Date: Mon, 28 Feb 2022 16:11:03 GMT Message-Id: <202202281611.21SGB35u035642@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: f4a5d1f6c440 - main - axe: Fix a -Wunused-but-set-variable 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f4a5d1f6c4405b0bdf62481617f66afa1da3527d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646064664; 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=pt8jS2BWLDNL2U9xrMAQJJSASKNpilCEFCxBA182ddc=; b=tjgfUrmEWmeOmDf9S0nv8VIksz7Zf2sHfUpZQlPjoZ0xtuFelO+M2HNmKoPlXwr+VfailW Vk4lqkldIy/i7B2VruQ5wmqX19bFHtFAeQekyL/uG3K1VS+kWTySrdoOTBhLRKSLCtlyUL jfe+juj5gMbkFdO5LfjNTiZWAUjhe6/UVlA7w5SfwI8uJXwhWkED2Xf9jWX9Es3qnA12su zHfu6ZujiOddBflVKuoRDIp4DRkVjxKtc9Lt5BhJtTEwbT6c6AJUEdkjJtN/tecD2GwUOJ bFdkcFSenOITkAq/Fhv+ISNJTB0UoKQ7/nGrW8MZ6F1JPIk6RetWkGiy9gDlNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646064664; a=rsa-sha256; cv=none; b=MsjRn23iUcxeesCHqFfGegQzzexbSQbmOHV7PXiOFy8mVqEEnxEtcIRh4GQO7gPn0ZHzsy m0TLuQ0SEx85N4byBczRCB4cZke9ABYaMFQVPfAo+HVq4ZfndeYdI2zeOODHAJVcrq7oCd oCjJgK1xXaGg+tcOcEs0Y2efh+Nu7h49TyI2DAHimftKKoLcfLaxMwDl7RIBRTDXULm+pB LV7Ixhsi/cIG6kexkCI7vF1AkaNJwpqc3zi/pqcrul1c2JwB7E97/hVij9IkwmjmDeM5KO Q7lU3L73wA33upgwS4COMCSxauqkN9lMotSy985QSVw5uGsv7oi4fbLSxRbQeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f4a5d1f6c4405b0bdf62481617f66afa1da3527d commit f4a5d1f6c4405b0bdf62481617f66afa1da3527d Author: Mark Johnston AuthorDate: 2022-02-28 16:07:19 +0000 Commit: Mark Johnston CommitDate: 2022-02-28 16:07:19 +0000 axe: Fix a -Wunused-but-set-variable warning MFC after: 1 week --- 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 314a69b17c01..eaab2798c242 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 |