cxusb: Mygica D689 compilation warning fix and clean up
PATCH 1/1 cxusb: Mygica D689 compilation warning fix and clean up
Hi,
This patch fix compilation warning for cxusb mygica d689 and clean up
unused code.
Regards,
David
Signed-off-by David T. L. Wong <[email protected]>
linux/drivers/media/dvb/dvb-usb/cxusb.c +0 -10
@@ -1195,7 +1195,6 @@static int cxusb_mygica_d689_frontend_attach (struct dvb_usb_adapter *adap) {struct dvb_usb_device *d = adap->dev; -int n;/* Select required USB configuration */ if (usb_set_interface (d->udev,0 ,0 ) <0 )
@@ -1209,15 +1208,6 @@usb_clear_halt (d->udev,usb_rcvbulkpipe (d->udev, d->props.adapter[0 ].stream.endpoint)); -#if 0 -/* Drain USB pipes to avoid hang after reboot */ -for (n =0 ; n <5 ; n++) { -cxusb_d680_dmb_drain_message (d); -cxusb_d680_dmb_drain_video (d); -msleep (200 ); - } -#endif -/* Reset the tuner */ if (cxusb_d680_dmb_gpio_tuner (d,0x07 ,0 ) <0 ) {err ("clear tuner gpio failed" );