X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fmedia%2Fvideo%2Ftea6415c.c;h=3ec39550bf467a6ba1f75552d4cc6b7862754f8e;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=807fd7ecd599e9a7c333fd56e50d88ba977844ae;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/drivers/media/video/tea6415c.c b/drivers/media/video/tea6415c.c index 807fd7ecd..3ec39550b 100644 --- a/drivers/media/video/tea6415c.c +++ b/drivers/media/video/tea6415c.c @@ -51,9 +51,6 @@ I2C_CLIENT_INSMOD; static struct i2c_driver driver; static struct i2c_client client_template; -/* unique ID allocation */ -static int tea6415c_id = 0; - /* this function is called by i2c_probe */ static int detect(struct i2c_adapter *adapter, int address, int kind) { @@ -73,7 +70,6 @@ static int detect(struct i2c_adapter *adapter, int address, int kind) /* fill client structure */ memcpy(client, &client_template, sizeof(struct i2c_client)); - client->id = tea6415c_id++; client->addr = address; client->adapter = adapter;