OSDN Git Service

[media] dvb_usb_v2: remove various unneeded variables
authorAntti Palosaari <crope@iki.fi>
Tue, 5 Jun 2012 01:18:34 +0000 (22:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:26 +0000 (07:56 -0300)
commite80e9af3086674bdd2d65c09557c7d0df8f30f99
treefb26e6bbd56bf17869e7468837dfb175bf957fb3
parent19ec2728d77e75b9f44188f356f5ca2f6d7ff165
[media] dvb_usb_v2: remove various unneeded variables

Adapter priv is not really needed, use device priv instead.
There is only driver or two using that.

Device caps are not needed. There was only "has I2C adapter"
capability defined. It is useless as we can see same just
checking existence of i2c_algo callback.

And also remove some totally not used at all variables.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb.h
drivers/media/dvb/dvb-usb/dvb_usb_i2c.c
drivers/media/dvb/dvb-usb/dvb_usb_init.c