diff options
author | Jan Pieter van Woerkom <jp@jpvw.nl> | 2019-10-22 14:07:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2019-11-09 09:15:57 +0100 |
commit | 130ec3dfa5b8f34d29a0b3adf2dfeaebf7627cab (patch) | |
tree | c879b8a730861f679d0d2df9093df8650be95361 /drivers/media | |
parent | media: flexcop-usb: ensure -EIO is returned on error condition (diff) | |
download | linux-130ec3dfa5b8f34d29a0b3adf2dfeaebf7627cab.tar.xz linux-130ec3dfa5b8f34d29a0b3adf2dfeaebf7627cab.zip |
media: dvbsky: remove unused code
remove unused code
Signed-off-by: Jan Pieter van Woerkom <jp@jpvw.nl>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/dvbsky.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 199ba6a8201f..356fd8e66834 100644 --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c +++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c @@ -592,16 +592,7 @@ static int dvbsky_identify_state(struct dvb_usb_device *d, const char **name) 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; } |