From nobody Sat Apr 09 00:28:04 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 3B3801AACA1A; Sat, 9 Apr 2022 00:28:05 +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 4KZwv90g71z3pPr; Sat, 9 Apr 2022 00:28:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464085; 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=Bm5jcs7Rn1CecIGK0096Fx/A9GcWyT1b8tkqTzwEp+4=; b=GEwFKNvbsE2aS3fucvCQO4Hlot9EKCmPSyd+KT+ioZ7ToXt0CrUnFiaBE12X4ElPqoWxw7 dpYRCGJVU/VwRQmrido+UdmlY7tChQFwKZZTn1qq19n6vQpQIalxaZhVKGdC98sqdxzLb5 MyKUv+dMoptw2xiNrtv9AhdiUbU0cWzhS3VFutTbgJS8eM7pLdU5n6jl6cWf7YGvwqf1M9 n2gG3+xCOpUm8L6CZP1pILufWMX0nQ4mSjG6XJHlpz8f5gH984AmtkGXBSQWokwoBc26mS cdjlz1AtQClao1EeWXYep6yuIO+jANgb9zpZA+gc8HFe2T017FsxdM/B1khA0A== 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 85A2277A5; Sat, 9 Apr 2022 00:28:04 +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 2390S4vL056845; Sat, 9 Apr 2022 00:28:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390S4XU056844; Sat, 9 Apr 2022 00:28:04 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:28:04 GMT Message-Id: <202204090028.2390S4XU056844@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: bce1b42f99e6 - main - aw_gmacclk: Remove unused variables. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bce1b42f99e673d05239c3dd6b3c0e8b70b17bc9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464085; 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=Bm5jcs7Rn1CecIGK0096Fx/A9GcWyT1b8tkqTzwEp+4=; b=PQNY8hBlW+N5jeQK6Vd7SgpqqN30VXkN+F3wid/xi3e3Qf5DX9trfIQ1U1EsZ7Im9lmFoP 9OoC6Xn7+p+DJggqdRzc8JomCZVvzpjWFE4kwoVkqqi3z8yvLTjgsteqW9Stp3IfVAm/2Q 08lUNiA7e9UEQxzTPxD0yrgflyJQX5+QJMMx0K/4zEbLqHZcQW4I686AOpl2mz5j2zYjh/ eDnzIelTxa1m/AJ/hOn9NtapmGEIR06visQf9iavnsUnKblFaCr2hzwjFbtFRj3jiQ3ID5 5g+YbLEe4dEjmfhsXZFPvYdB01HZNt3e2s+P8Nhhm9Go3eWREnWruzWuHEcC/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464085; a=rsa-sha256; cv=none; b=PQpS64dqurxtjtpCbzb9Ot/KWp3pYg/YxRaL4n+Q0dz0Sdk+mZs1w7COFQA27Fq9/X9f71 NaBwG003KHUfak1XDS7149Al5h/LzGGsQwi8WIm2lBeE3/C1rxpxD3fuG6kD7+T8K11BK1 kHyOmQp8BNJCM/R77yV+eHNjOfyja5qY1FOcO24noa5BAS81Jryux00crATxjwgViQIEeW s6XdeBH3OkCSi6T3kWDA7zBZEDf8LHZjlb4Rd5QyHG/mhPaN9QC/VSJ9qZyRwdAvcLjlTm YCm5VFZXPO2azoAEh3HHWkEb+hIP7AEjBwI5OLMnstKgxcDIuwk7X55C4HE4gQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bce1b42f99e673d05239c3dd6b3c0e8b70b17bc9 commit bce1b42f99e673d05239c3dd6b3c0e8b70b17bc9 Author: John Baldwin AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:14 +0000 aw_gmacclk: Remove unused variables. --- sys/arm/allwinner/aw_gmacclk.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/arm/allwinner/aw_gmacclk.c b/sys/arm/allwinner/aw_gmacclk.c index ba93ea1d4c4a..0b54f87f2984 100644 --- a/sys/arm/allwinner/aw_gmacclk.c +++ b/sys/arm/allwinner/aw_gmacclk.c @@ -125,22 +125,18 @@ static int aw_gmacclk_set_mux(struct clknode *clk, int index) { struct aw_gmacclk_sc *sc; - uint32_t val, clk_src, pit, txc_div; - int error; + uint32_t val, clk_src, pit; sc = clknode_get_softc(clk); - error = 0; switch (index) { case CLK_IDX_MII: clk_src = GMAC_CLK_SRC_MII; pit = GMAC_CLK_PIT_MII; - txc_div = EMAC_TXC_DIV_CFG_25MHZ; break; case CLK_IDX_RGMII: clk_src = GMAC_CLK_SRC_RGMII; pit = GMAC_CLK_PIT_RGMII; - txc_div = EMAC_TXC_DIV_CFG_125MHZ; break; default: return (ENXIO);