]> www.infradead.org Git - users/willy/xarray.git/commit
cpufreq: amd-pstate: remove unused variable nominal_freq
authorPerry Yuan <perry.yuan@amd.com>
Wed, 19 Jun 2024 15:40:13 +0000 (23:40 +0800)
committerMario Limonciello <mario.limonciello@amd.com>
Fri, 21 Jun 2024 02:52:05 +0000 (21:52 -0500)
commit7bf7f22906671995b798b39f8c3cb62405ea03b2
tree7171cf5e632b936a77a700c505c36e64e2f5862b
parent8f8b42c1fcc939a73b547b172a9ffcb65ef4bf47
cpufreq: amd-pstate: remove unused variable nominal_freq

removed the unused variable `nominal_freq` for build warning.
This variable was defined and assigned a value in the previous code,
but it was not used in the subsequent code.

Closes: https://lore.kernel.org/oe-kbuild-all/202405080431.BPU6Yg9s-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/b7ef41557f71d40d098393ddb27f0fe1f23648ae.1718811234.git.perry.yuan@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c