[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>
This commit is contained in:
Joe Perches
2010-11-30 18:42:07 -03:00
committed by Mauro Carvalho Chehab
parent 9124544320
commit 8350e1551c
2 changed files with 4 additions and 7 deletions

View File

@@ -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);