summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 65b4a5cef..7bdc8a611 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -1054,11 +1054,10 @@ ttusb_dec_probe(struct usb_device *udev, unsigned int ifnum,
static void
ttusb_dec_disconnect(struct usb_device *udev, void *data)
{
+ ttusb_dec_t *dec = data;
dprintk("%s\n", __FUNCTION__);
- ttusb_dec_t *dec = data;
-
ttusb_dec_exit_usb(dec);
ttusb_dec_exit_dvb(dec);