Commit c7116af
committed
cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits
JIRA: https://issues.redhat.com/browse/RHEL-75923
commit d364eee
Author: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Date: Wed Feb 5 11:25:12 2025 +0000
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: 6c093d5 ("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>
Signed-off-by: David Arcari <darcari@redhat.com>1 parent c1fe9f6 commit c7116af
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
842 | | - | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
843 | 845 | | |
844 | 846 | | |
845 | 847 | | |
| |||
849 | 851 | | |
850 | 852 | | |
851 | 853 | | |
852 | | - | |
853 | | - | |
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
| |||
0 commit comments