diff options
author | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-02-26 16:48:49 +0300 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2008-04-27 17:23:12 +0400 |
commit | 5d822e9bd9d866672984c6a6b613f0c11ca2543b (patch) | |
tree | a52404f9a93479d4efa9a9801a7203d97568f9dc /drivers/hwmon | |
parent | ccd6befceb9a9b02114a93ff4cfa29adbdf60b6d (diff) | |
download | linux-5d822e9bd9d866672984c6a6b613f0c11ca2543b.tar.xz |
hwmon: (asb100) Remove some dead code
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/asb100.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 84712a22acea..fe2eea4d799b 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c @@ -953,12 +953,8 @@ static void asb100_write_value(struct i2c_client *client, u16 reg, u16 value) static void asb100_init_client(struct i2c_client *client) { struct asb100_data *data = i2c_get_clientdata(client); - int vid = 0; - vid = asb100_read_value(client, ASB100_REG_VID_FANDIV) & 0x0f; - vid |= (asb100_read_value(client, ASB100_REG_CHIPID) & 0x01) << 4; data->vrm = vid_which_vrm(); - vid = vid_from_reg(vid, data->vrm); /* Start monitoring */ asb100_write_value(client, ASB100_REG_CONFIG, |