{
        struct wlandevice *wlandev;
 
-       wlandev = (struct wlandevice *)usb_get_intfdata(interface);
+       wlandev = usb_get_intfdata(interface);
        if (wlandev) {
                LIST_HEAD(cleanlist);
                struct hfa384x_usbctlx *ctlx, *temp;
        struct hfa384x *hw = NULL;
        struct wlandevice *wlandev;
 
-       wlandev = (struct wlandevice *)usb_get_intfdata(interface);
+       wlandev = usb_get_intfdata(interface);
        if (!wlandev)
                return -ENODEV;
 
        struct hfa384x *hw = NULL;
        struct wlandevice *wlandev;
 
-       wlandev = (struct wlandevice *)usb_get_intfdata(interface);
+       wlandev = usb_get_intfdata(interface);
        if (!wlandev)
                return -ENODEV;