mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +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
@@ -104,7 +104,6 @@ static ctl_table icspll_dir_table_template[] = {
|
||||
/* holding place for data - block read could be as much as 32 */
|
||||
static u8 tempdata[MAXBLOCK_SIZE];
|
||||
|
||||
static int icspll_id = 0;
|
||||
static int icspll_attach_adapter(struct i2c_adapter *adapter)
|
||||
{
|
||||
return i2c_detect(adapter, &addr_data, icspll_detect);
|
||||
@@ -141,7 +140,6 @@ int icspll_detect(struct i2c_adapter *adapter, int address,
|
||||
/* Fill the new client structure with data */
|
||||
new_client = &data->client;
|
||||
new_client->data = data;
|
||||
new_client->id = icspll_id++;
|
||||
new_client->addr = address;
|
||||
new_client->adapter = adapter;
|
||||
new_client->driver = &icspll_driver;
|
||||
|
||||
Reference in new issue
Block a user