Drop unused client id.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2867 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-01-23 18:02:43 +00:00
1 parent dc6501f36b
commit 1756f8d8dd
45 files changed
-185

No files matched your search

-4
View File
@@ -154,8 +154,6 @@ static void lm80_alarms(struct i2c_client *client, int operation,
static void lm80_fan_div(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static int lm80_id = 0;
static struct i2c_driver lm80_driver = {
.name = "LM80 sensor driver",
.id = I2C_DRIVERID_LM80,
@@ -302,8 +300,6 @@ int lm80_detect(struct i2c_adapter *adapter, int address,
/* Fill in the remaining client fields and put it into the global list */
strcpy(new_client->name, client_name);
new_client->id = lm80_id++;
data->valid = 0;
init_MUTEX(&data->update_lock);