@@ -878,7 +878,7 @@ static int amd_pstate_init_freq(struct amd_cpudata *cpudata)
878
878
879
879
static int amd_pstate_cpu_init (struct cpufreq_policy * policy )
880
880
{
881
- int min_freq , max_freq , nominal_freq , lowest_nonlinear_freq , ret ;
881
+ int min_freq , max_freq , nominal_freq , ret ;
882
882
struct device * dev ;
883
883
struct amd_cpudata * cpudata ;
884
884
@@ -910,7 +910,6 @@ static int amd_pstate_cpu_init(struct cpufreq_policy *policy)
910
910
min_freq = READ_ONCE (cpudata -> min_freq );
911
911
max_freq = READ_ONCE (cpudata -> max_freq );
912
912
nominal_freq = READ_ONCE (cpudata -> nominal_freq );
913
- lowest_nonlinear_freq = READ_ONCE (cpudata -> lowest_nonlinear_freq );
914
913
915
914
if (min_freq <= 0 || max_freq <= 0 ||
916
915
nominal_freq <= 0 || min_freq > max_freq ) {
@@ -1339,7 +1338,7 @@ static bool amd_pstate_acpi_pm_profile_undefined(void)
1339
1338
1340
1339
static int amd_pstate_epp_cpu_init (struct cpufreq_policy * policy )
1341
1340
{
1342
- int min_freq , max_freq , nominal_freq , lowest_nonlinear_freq , ret ;
1341
+ int min_freq , max_freq , nominal_freq , ret ;
1343
1342
struct amd_cpudata * cpudata ;
1344
1343
struct device * dev ;
1345
1344
u64 value ;
@@ -1373,7 +1372,6 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
1373
1372
min_freq = READ_ONCE (cpudata -> min_freq );
1374
1373
max_freq = READ_ONCE (cpudata -> max_freq );
1375
1374
nominal_freq = READ_ONCE (cpudata -> nominal_freq );
1376
- lowest_nonlinear_freq = READ_ONCE (cpudata -> lowest_nonlinear_freq );
1377
1375
if (min_freq <= 0 || max_freq <= 0 ||
1378
1376
nominal_freq <= 0 || min_freq > max_freq ) {
1379
1377
dev_err (dev ,
0 commit comments