mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
x86/hwmon: (coretemp) cosmetic cleanup
"break" after "return" is at best bogus (good compilers even warn about the "break" being unreachable). Signed-off-by: Jan Beulich <jbeulich@novell.com> Cc: Rudolf Marek <r.marek@assembler.cz> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:
parent
a5f42a6bc5
commit
e0a8755b6b
@ -280,11 +280,9 @@ static int __devinit get_tjmax(struct cpuinfo_x86 *c, u32 id,
|
||||
case 0x1a:
|
||||
dev_warn(dev, "TjMax is assumed as 100 C!\n");
|
||||
return 100000;
|
||||
break;
|
||||
case 0x17:
|
||||
case 0x1c: /* Atom CPUs */
|
||||
return adjust_tjmax(c, id, dev);
|
||||
break;
|
||||
default:
|
||||
dev_warn(dev, "CPU (model=0x%x) is not supported yet,"
|
||||
" using default TjMax of 100C.\n", c->x86_model);
|
||||
|
Loading…
Reference in New Issue
Block a user