[<prev] [next>] [day] [month] [year] [list]
Message-Id: <4C8E18F30200007800015AFA@vpn.id2.novell.com>
Date: Mon, 13 Sep 2010 11:28:35 +0100
From: "Jan Beulich" <JBeulich@...ell.com>
To: <fenghua.yu@...el.com>, <khali@...ux-fr.org>
Cc: <r.marek@...embler.cz>, <lm-sensors@...sensors.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] x86/hwmon: cosmetic cleanup for coretemp
"break" after "return" is at best bogus (good compilers even warn about
the "break" being unreachable).
Signed-off-by: Jan Beulich <jbeulich@...ell.com>
Cc: Rudolf Marek <r.marek@...embler.cz>
---
drivers/hwmon/coretemp.c | 2 --
1 file changed, 2 deletions(-)
--- linux-2.6.36-rc4/drivers/hwmon/coretemp.c 2010-09-13 08:45:02.000000000 +0200
+++ 2.6.36-rc4-x86-coretemp-cosmetic/drivers/hwmon/coretemp.c 2010-09-03 17:54:14.000000000 +0200
@@ -279,11 +279,9 @@ static int __devinit get_tjmax(struct cp
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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists