Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edc7d448 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] dvb_usb_v2: remove unused variable



It was left from the legacy remote controller we do not support.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f93c8028
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;

+0 −1
Original line number Diff line number Diff line
@@ -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 */