mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-23 20:11:42 +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
@@ -357,8 +357,6 @@ static void via686a_alarms(struct i2c_client *client, int operation,
|
||||
static void via686a_fan_div(struct i2c_client *client, int operation,
|
||||
int ctl_name, int *nrels_mag, long *results);
|
||||
|
||||
static int via686a_id = 0;
|
||||
|
||||
/* The driver. I choose to use type i2c_driver, as at is identical to both
|
||||
smbus_driver and isa_driver, and clients could be of either kind */
|
||||
static struct i2c_driver via686a_driver = {
|
||||
@@ -512,8 +510,6 @@ int via686a_detect(struct i2c_adapter *adapter, int address,
|
||||
|
||||
/* Fill in the remaining client fields and put into the global list */
|
||||
strcpy(new_client->name, "Via 686A Integrated Sensors");
|
||||
|
||||
new_client->id = via686a_id++;
|
||||
data->valid = 0;
|
||||
init_MUTEX(&data->update_lock);
|
||||
|
||||
|
||||
Reference in new issue
Block a user