Skip to content

Commit

Permalink
hwmon: (coretemp) Drop needless initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Jun 17, 2012
1 parent 813441f commit 1268a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/coretemp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1268a17

Please sign in to comment.