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
@@ -202,8 +202,6 @@ static struct i2c_driver adm1031_driver = {
.detach_client = adm1031_detach_client,
};
static int adm1031_id = 0;
#define TEMP_TO_REG(val) ((val) < 0 ? (((val) - 500) / 1000) : \
(((val) + 500) / 1000))
@@ -285,8 +283,6 @@ adm1031_detect(struct i2c_adapter *adapter, int address,
data->chip_type = kind;
strcpy(new_client->name, client_name);
new_client->id = adm1031_id++;
data->valid = 0;
init_MUTEX(&data->update_lock);