projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/drivers/hwmon/coretemp.c
b/drivers/hwmon/coretemp.c
index 22716833739a903177d47aa00aa814421ed62153..7f1feb2f467af5f94b102d1ade8dfd230538d514 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