[media] dvb_usb_v2: remove unused variable
authorAntti Palosaari <crope@iki.fi>
Thu, 21 Jun 2012 01:47:15 +0000 (22:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:38 +0000 (07:56 -0300)
It was left from the legacy remote controller we do not support.

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_core.c

index 7d7647d385a69058d41158dde72b827ca0ab9e25..bf5adb23418fc3a65645c1c2ab099e55717dd600 100644 (file)
@@ -331,9 +331,7 @@ struct dvb_usb_adapter {
  * @usb_mutex: mutex for usb control messages
  * @i2c_mutex: mutex for i2c-transfers
  * @i2c_adap: device's i2c-adapter
- *
  * @rc_dev: rc device for the remote control
- * @input_dev: input device for the remote control (legacy mode)
  * @rc_query_work: work for polling remote
  * @priv: private data of the actual driver (allocate by dvb usb, size defined
  *  in size_of_priv of dvb_usb_properties).
@@ -361,7 +359,6 @@ struct dvb_usb_device {
 
        /* remote control */
        struct rc_dev *rc_dev;
-       struct input_dev *input_dev;
        char rc_phys[64];
        struct delayed_work rc_query_work;
 
index 42473e1dbac8f6101b15b91dfb2140267fceba89..b001dcdca693c397c8cb576cdd27ea5a98375ba6 100644 (file)
@@ -159,7 +159,6 @@ static int dvb_usbv2_remote_init(struct dvb_usb_device *d)
                goto err;
        }
 
-       d->input_dev = NULL;
        d->rc_dev = dev;
 
        /* start polling if needed */