]> www.infradead.org Git - users/dwmw2/linux.git/commit
cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits
authorDhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Wed, 5 Feb 2025 11:25:12 +0000 (11:25 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 5 Feb 2025 18:18:27 +0000 (12:18 -0600)
commitd364eee14c682b141f4667efc3c65191339d88bd
treedd73b109dde038d38a0208091a5c6434eb9d90f8
parentfa803513ab68ba07369643393f1754b845160030
cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits

Scope based guard/cleanup macros should not be used together with goto
labels. Hence, remove the goto label.

Fixes: 6c093d5a5b73 ("cpufreq/amd-pstate: convert mutex use to guard()")
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250205112523.201101-2-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c