Commit e0a8755b authored by Jan Beulich's avatar Jan Beulich Committed by Guenter Roeck

x86/hwmon: (coretemp) cosmetic cleanup

"break" after "return" is at best bogus (good compilers even warn about
the "break" being unreachable).
Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Cc: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent a5f42a6b
...@@ -280,11 +280,9 @@ static int __devinit get_tjmax(struct cpuinfo_x86 *c, u32 id, ...@@ -280,11 +280,9 @@ static int __devinit get_tjmax(struct cpuinfo_x86 *c, u32 id,
case 0x1a: case 0x1a:
dev_warn(dev, "TjMax is assumed as 100 C!\n"); dev_warn(dev, "TjMax is assumed as 100 C!\n");
return 100000; return 100000;
break;
case 0x17: case 0x17:
case 0x1c: /* Atom CPUs */ case 0x1c: /* Atom CPUs */
return adjust_tjmax(c, id, dev); return adjust_tjmax(c, id, dev);
break;
default: default:
dev_warn(dev, "CPU (model=0x%x) is not supported yet," dev_warn(dev, "CPU (model=0x%x) is not supported yet,"
" using default TjMax of 100C.\n", c->x86_model); " using default TjMax of 100C.\n", c->x86_model);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment