projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f42a6
)
x86/hwmon: (coretemp) cosmetic cleanup
author
Jan Beulich
<
[email protected]
>
Mon, 13 Sep 2010 10:28:35 +0000
(10:28 +0000)
committer
Guenter Roeck
<
[email protected]
>
Mon, 25 Oct 2010 21:11:20 +0000
(14:11 -0700)
"break" after "return" is at best bogus (good compilers even warn about
the "break" being unreachable).
Signed-off-by: Jan Beulich <
[email protected]
>
Cc: Rudolf Marek <
[email protected]
>
Signed-off-by: Guenter Roeck <
[email protected]
>
drivers/hwmon/coretemp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/coretemp.c
b/drivers/hwmon/coretemp.c
index f34fe836b5c900a351ec2be607644513ec7e3a21..b7084b383703a8cfe2d34a4a77c359404ea03833 100644
(file)
--- 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,
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);