cpufreq: dt: Plug set but not used variable

Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2022-02-21 11:04:09 +01:00
parent 4f118605ad
commit eb80ba8d54

View File

@ -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;