Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2022 10:12:14 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: eb80ba8d543f - main - cpufreq: dt: Plug set but not used variable
Message-ID:  <202202211012.21LACEh2010219@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=eb80ba8d543f59231ff2161da4b42ee2703dbc7f

commit eb80ba8d543f59231ff2161da4b42ee2703dbc7f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 10:04:09 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-02-21 10:08:23 +0000

    cpufreq: dt: Plug set but not used variable
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sys/dev/cpufreq/cpufreq_dt.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/dev/cpufreq/cpufreq_dt.c b/sys/dev/cpufreq/cpufreq_dt.c
index 30d9d56e66af..ee5b15347fdc 100644
--- a/sys/dev/cpufreq/cpufreq_dt.c
+++ b/sys/dev/cpufreq/cpufreq_dt.c
@@ -125,9 +125,6 @@ static void
 cpufreq_dt_opp_to_setting(device_t dev, const struct cpufreq_dt_opp *opp,
     struct cf_setting *set)
 {
-	struct cpufreq_dt_softc *sc;
-
-	sc = device_get_softc(dev);
 
 	memset(set, 0, sizeof(*set));
 	set->freq = opp->freq / 1000000;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202211012.21LACEh2010219>