aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2010-09-13 06:28:35 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2010-10-25 17:11:20 -0400
commite0a8755b6b701b3397c4c23ff182b7eb6ac6fe26 (patch)
tree4886712854112a2b8eb0a447e6d5b57652e3d61c /drivers/hwmon
parenta5f42a6bc51454137b918f67310168c27d1dd1de (diff)
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/coretemp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index f34fe836b5c9..b7084b383703 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -280,11 +280,9 @@ static int __devinit get_tjmax(struct cpuinfo_x86 *c, u32 id,
280 case 0x1a: 280 case 0x1a:
281 dev_warn(dev, "TjMax is assumed as 100 C!\n"); 281 dev_warn(dev, "TjMax is assumed as 100 C!\n");
282 return 100000; 282 return 100000;
283 break;
284 case 0x17: 283 case 0x17:
285 case 0x1c: /* Atom CPUs */ 284 case 0x1c: /* Atom CPUs */
286 return adjust_tjmax(c, id, dev); 285 return adjust_tjmax(c, id, dev);
287 break;
288 default: 286 default:
289 dev_warn(dev, "CPU (model=0x%x) is not supported yet," 287 dev_warn(dev, "CPU (model=0x%x) is not supported yet,"
290 " using default TjMax of 100C.\n", c->x86_model); 288 " using default TjMax of 100C.\n", c->x86_model);