diff options
-rw-r--r-- | drivers/thermal/x86_pkg_temp_thermal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/x86_pkg_temp_thermal.c b/drivers/thermal/x86_pkg_temp_thermal.c index 810143a6aa33..f36950e4134f 100644 --- a/drivers/thermal/x86_pkg_temp_thermal.c +++ b/drivers/thermal/x86_pkg_temp_thermal.c | |||
@@ -599,7 +599,6 @@ static int __init pkg_temp_thermal_init(void) | |||
599 | return 0; | 599 | return 0; |
600 | 600 | ||
601 | err_ret: | 601 | err_ret: |
602 | get_online_cpus(); | ||
603 | for_each_online_cpu(i) | 602 | for_each_online_cpu(i) |
604 | put_core_offline(i); | 603 | put_core_offline(i); |
605 | put_online_cpus(); | 604 | put_online_cpus(); |