diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-14 16:34:23 -0600 |
|---|---|---|
| committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-03-06 13:01:25 -0600 |
| commit | c630458c7a4b990742905e312af20a7c3260ca14 (patch) | |
| tree | d249d90d0a70e7e9a6cb456c6740d9904b8eea11 /arch/x86/kernel/acpi/cppc.c | |
| parent | cpufreq/amd-pstate-ut: Run on all of the correct CPUs (diff) | |
| download | linux-c630458c7a4b990742905e312af20a7c3260ca14.tar.gz linux-c630458c7a4b990742905e312af20a7c3260ca14.zip | |
cpufreq/amd-pstate-ut: Adjust variable scope
In amd_pstate_ut_check_freq() and amd_pstate_ut_check_perf() the cpudata
variable is only needed in the scope of the for loop. Move it there.
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'arch/x86/kernel/acpi/cppc.c')
0 files changed, 0 insertions, 0 deletions
