mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
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:
1 parent
dc6501f36b
commit
1756f8d8dd
45 files changed
-185
No files matched your search
@@ -200,12 +200,6 @@ static ctl_table lm83_dir_table_template[] =
|
||||
{0}
|
||||
};
|
||||
|
||||
/*
|
||||
* Internal variables
|
||||
*/
|
||||
|
||||
static int lm83_id = 0;
|
||||
|
||||
/*
|
||||
* Real code
|
||||
*/
|
||||
@@ -333,7 +327,6 @@ static int lm83_detect(struct i2c_adapter *adapter, int address, unsigned
|
||||
*/
|
||||
|
||||
strcpy(new_client->name, client_name);
|
||||
new_client->id = lm83_id++;
|
||||
data->valid = 0;
|
||||
init_MUTEX(&data->update_lock);
|
||||
|
||||
|
||||
Reference in new issue
Block a user