git: 8d1e57a1a82e - main - aw_clk_nkmp: Remove unused variables.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 00:28:13 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8d1e57a1a82edf317466dd77273b56bea54a8730 commit 8d1e57a1a82edf317466dd77273b56bea54a8730 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-09 00:25:15 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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);