hwmon: (coretemp) Drop needless initialization
Subsystems (2)
PATCH 1/1 hwmon: (coretemp) Drop needless initialization
The value is overridden a few lines later.
Signed-off-by Jean Delvare <[email protected]>
--- drivers/hwmon/coretemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/coretemp.c +1 -1
@@ -801,7 +801,7 @@ MODULE_DEVICE_TABLE(x86cpu, coretemp_idsstatic int __init coretemp_init (void ) { -int i, err = -ENODEV ; +int i, err;/* * CPUID.06H.EAX[0] indicates whether the CPU has thermal
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 3 lines · Jean Delvare
The value is overridden a few lines later.
Signed-off-by Jean Delvare <[email protected]>
Acked-by Guenter Roeck <[email protected]>
Quoted 24 lines
--- drivers/hwmon/coretemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/coretemp.c +1
-1@@ -801,7 +801,7 @@ MODULE_DEVICE_TABLE(x86cpu, coretemp_idsstatic int __init coretemp_init (void ) { -int i, err = -ENODEV ; +int i, err;/* * CPUID.06H.EAX[0] indicates whether the CPU has thermal Signature · 7 lines
-- Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors