diff mbox series

media: dvbsky: remove unused code

Message ID 20191022120737.GA31677@jpvw.nl (mailing list archive)
State New, archived
Headers show
Series media: dvbsky: remove unused code | expand

Commit Message

Jan Pieter van Woerkom Oct. 22, 2019, 12:07 p.m. UTC
remove unused code

Signed-off-by: Jan Pieter van Woerkom <jp@jpvw.nl>
---
diff mbox series

Patch

diff -ru a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c
--- a/drivers/media/usb/dvb-usb-v2/dvbsky.c	2019-10-22 13:15:31.598029247 +0200
+++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c	2019-10-22 12:57:19.841571173 +0200
@@ -592,16 +592,7 @@ 
 static int dvbsky_init(struct dvb_usb_device *d)
 {
 	struct dvbsky_state *state = d_to_priv(d);
-
-	/* use default interface */
-	/*
-	ret = usb_set_interface(d->udev, 0, 0);
-	if (ret)
-		return ret;
-	*/
-
 	state->last_lock = 0;
-
 	return 0;
 }