summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-30 18:42:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:58 -0200
commit8350e1551c27ee784ded579fd224846972d4b0d3 (patch)
treebfe14238becb6ba4c10e08151a8345e9e09fc71a /drivers/media/rc
parent9124544320bd36d5aa21769d17a5781ba729aebf (diff)
downloadblackbird-op-linux-8350e1551c27ee784ded579fd224846972d4b0d3.tar.gz
blackbird-op-linux-8350e1551c27ee784ded579fd224846972d4b0d3.zip
[media] media: Remove unnecessary casts of usb_get_intfdata
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/imon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index de9dc0e202d5..6811512b4e83 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -2274,7 +2274,7 @@ static int __devinit imon_probe(struct usb_interface *interface,
mutex_lock(&driver_lock);
first_if = usb_ifnum_to_if(usbdev, 0);
- first_if_ctx = (struct imon_context *)usb_get_intfdata(first_if);
+ first_if_ctx = usb_get_intfdata(first_if);
if (ifnum == 0) {
ictx = imon_init_intf0(interface);
OpenPOWER on IntegriCloud