projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
813441f
)
hwmon: (coretemp) Drop needless initialization
author
Jean Delvare
<khali@linux-fr.org>
Sun, 17 Jun 2012 16:05:06 +0000
(18:05 +0200)
committer
Jean Delvare
<khali@endymion.delvare>
Sun, 17 Jun 2012 16:05:06 +0000
(18:05 +0200)
The value is overridden a few lines later.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/coretemp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/coretemp.c
b/drivers/hwmon/coretemp.c
index
2271683
..
7f1feb2
100644
(file)
--- a/
drivers/hwmon/coretemp.c
+++ b/
drivers/hwmon/coretemp.c
@@
-801,7
+801,7
@@
MODULE_DEVICE_TABLE(x86cpu, coretemp_ids);
static int __init coretemp_init(void)
{
- int i, err
= -ENODEV
;
+ int i, err;
/*
* CPUID.06H.EAX[0] indicates whether the CPU has thermal