From nobody Sat Apr 09 00:28:13 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 76AC51AACFF4; Sat, 9 Apr 2022 00:28:14 +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 4KZwvK4wGSz3pT0; Sat, 9 Apr 2022 00:28:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464093; 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=YXvxDLeEaCU6cSh9STsixax+RSu4oGVlf3wz2luu9QM=; b=S+e+IkqgL4epCx9//Me6x5aD01EfNFDevCqvTp1rSDGcI+QJrbL3mI3Imbd8Cl1Nqoj476 VBUFYeauzfTmaUDuCOl8f3dFtjyaTtLIYonlzBELTo5W5Ggb7yNiUW0YvC0mkCiy5glafk 0JhQWKWEQuGyEbnjx+jxDBAAdr+DAs5ODZvLuDu829UkOmhxW9z15QuWVsmyZD5GAu7inh TKUoAymt+7rWDesWOXvFVkJ68Im+ulewLCZkqEHb0+tkD8ppxWlGNt+w0R7O7YHma8zvT+ ri+QW0SjS7/nKAO9AzqUwH3hxVbDGwmgQmrcfu+13oV3RiqaV640GXlieJajyw== 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 892F174E2; Sat, 9 Apr 2022 00:28:13 +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 2390SDHG057046; Sat, 9 Apr 2022 00:28:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390SD7x057045; Sat, 9 Apr 2022 00:28:13 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:28:13 GMT Message-Id: <202204090028.2390SD7x057045@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: 8d1e57a1a82e - main - aw_clk_nkmp: 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: 8d1e57a1a82edf317466dd77273b56bea54a8730 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464093; 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=YXvxDLeEaCU6cSh9STsixax+RSu4oGVlf3wz2luu9QM=; b=P/m28JQ0FvdVXuAnE6DwA+z819E36ZxkUBB5mlL01im6hyLgIKREeHb6mJ+XTegk1ME2xV RPFSJ9zuN5jZJXSThIavefEkrAyFm7DrowoRVdcASB3vwD9l0FHRxnKJFwixrgcGlO6yXO X1DudX0fQqeK/IhAz5r7+Z96KWkDHkD9S87J/+904A2gr9OIZLfiBSDiJnTs2VXY5VY2lX 8WSCYQYGFcYrXkajVuEiyUjFG8GbI4EM11swmuo0v0TE2i7Kyd9njdFbaBXYQoJIsOcjC2 iVk05yOHj3X+7dlmL8xlvzfwlBYa7G5iopXX8yGttb+W/BmKenFoSVhWQ97FQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464093; a=rsa-sha256; cv=none; b=j9Wywib1Ia2g6WIdDztHa6cnxp1BBW0PLC5LalGYAk3GS82Gs1DSFgAO6vBd0AbRyLgMBO Ls31vEW1tNfZBS/jZHoPmNasYlfgoOoK+w3AnFx/Jr5p8wcq4q1uuB9MD4+F9SeC5j8T6R EtfRm8L1o/nVYsbHZWr5dTw7A7at3JohleYt0ryvogkFTE9yQtIXMUKdTugibO6G3HyYBz I3kxmNYMnn2fUOHzYJlzHC1ffvS7/m2ko/SsjPcOzpqWuaXCgSSxnvPjvRyZz4saofGGlO Pj7z32S+I1D1IkEiVI37CB6hdtKV07SEYfc22viL7rymIn+eViIAlP7DfdooXg== 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=8d1e57a1a82edf317466dd77273b56bea54a8730 commit 8d1e57a1a82edf317466dd77273b56bea54a8730 Author: John Baldwin AuthorDate: 2022-04-09 00:25:15 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:15 +0000 aw_clk_nkmp: Remove unused variables. --- sys/arm/allwinner/clkng/aw_clk_nkmp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/arm/allwinner/clkng/aw_clk_nkmp.c b/sys/arm/allwinner/clkng/aw_clk_nkmp.c index d76b4b242fce..71afa3149a02 100644 --- a/sys/arm/allwinner/clkng/aw_clk_nkmp.c +++ b/sys/arm/allwinner/clkng/aw_clk_nkmp.c @@ -195,14 +195,12 @@ static void aw_clk_nkmp_set_freq_scale(struct clknode *clk, struct aw_clk_nkmp_sc *sc, uint32_t factor_n, uint32_t factor_k, uint32_t factor_m, uint32_t factor_p) { - uint32_t val, n, k, m, p; + uint32_t val, m, p; int retry; DEVICE_LOCK(clk); READ4(clk, sc->offset, &val); - n = aw_clk_get_factor(val, &sc->n); - k = aw_clk_get_factor(val, &sc->k); m = aw_clk_get_factor(val, &sc->m); p = aw_clk_get_factor(val, &sc->p);