summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dvb_usb.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-17 23:42:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 07:56:35 -0300
commit4edcf22bf2cf5fe679dd51c6d0f092f1fabdff1e (patch)
treedf341a13f38cb41403d4fcd7950a5b9714b67357 /drivers/media/dvb/dvb-usb/dvb_usb.h
parent5da2aecb46597c2b4a3dee2eb78863fee0c8354e (diff)
[media] dvb_usb_v2: git rid of dvb_usb_adapter state variable
We can live without it easily. Also USB data stream complete callback checks for feedcount seems to be quite redundant so remove those also. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb_usb.h')
-rw-r--r--drivers/media/dvb/dvb-usb/dvb_usb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb_usb.h b/drivers/media/dvb/dvb-usb/dvb_usb.h
index 6bd27e51110..933d69004ab 100644
--- a/drivers/media/dvb/dvb-usb/dvb_usb.h
+++ b/drivers/media/dvb/dvb-usb/dvb_usb.h
@@ -297,9 +297,6 @@ struct usb_data_stream {
* @stream: the usb data stream.
*/
struct dvb_usb_adapter {
-#define DVB_USB_ADAP_STATE_INIT 0x000
-#define DVB_USB_ADAP_STATE_DVB 0x001
- int state;
struct dvb_usb_device *dev;
const struct dvb_usb_adapter_properties *props;
struct usb_data_stream stream;