cpufreq: dt: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
4f118605ad
commit
eb80ba8d54
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user