Skip to content

Commit a2930f6

Browse files
zhang-ruigroeck
authored andcommitted
hwmon: (coretemp) Delete an obsolete comment
The refinement of tjmax value retrieved from MSR_IA32_TEMPERATURE_TARGET has been changed for several times. Now, the raw value from MSR is used without refinement. Thus remove the obsolete comment. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Link: https://lore.kernel.org/r/20230330103346.6044-2-rui.zhang@intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 6c2b659 commit a2930f6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/hwmon/coretemp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,6 @@ static int get_tjmax(struct temp_data *tdata, struct device *dev)
282282
dev_warn(dev, "Unable to read TjMax from CPU %u\n", tdata->cpu);
283283
} else {
284284
val = (eax >> 16) & 0xff;
285-
/*
286-
* If the TjMax is not plausible, an assumption
287-
* will be used
288-
*/
289285
if (val)
290286
return val * 1000;
291287
}

0 commit comments

Comments
 (0)