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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 086183e37..2b845e216 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -435,13 +435,11 @@ ttusb_dec_process_urb_frame(ttusb_dec_t * dec, u8 * b, int length)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
static void
ttusb_dec_process_urb(struct urb *urb)
-{
#else
static void
ttusb_dec_process_urb(struct urb *urb, struct pt_regs *ptregs)
-{
- (void)ptregs;
#endif
+{
ttusb_dec_t *dec = urb->context;