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

-3
View File
@@ -299,7 +299,6 @@ static int lm92_init_client (struct i2c_client *client)
static int lm92_detect (struct i2c_adapter *adapter,int address,unsigned short flags,int kind)
{
static int id = 0;
struct i2c_client *client;
lm92_t *data;
int result = 0;
@@ -350,8 +349,6 @@ static int lm92_detect (struct i2c_adapter *adapter,int address,unsigned short f
goto ERROR4;
}
client->id = id++;
up (&mutex);
return (0);