Skip to content

Commit 75b15aa

Browse files
committed
Merge branch 'thermal-intel'
Merge one more Intel thermal control change for 6.2-rc1: - Remove a pointless die_id chec from the Intel HFI thermal control driver (Ricardo Neri). * thermal-intel: thermal: intel: hfi: Remove a pointless die_id check
2 parents 7d4b19a + 3a3073b commit 75b15aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/intel/intel_hfi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ void intel_hfi_online(unsigned int cpu)
379379
die_id = topology_logical_die_id(cpu);
380380
hfi_instance = info->hfi_instance;
381381
if (!hfi_instance) {
382-
if (die_id < 0 || die_id >= max_hfi_instances)
382+
if (die_id >= max_hfi_instances)
383383
return;
384384

385385
hfi_instance = &hfi_instances[die_id];

0 commit comments

Comments
 (0)