.. | .. |
---|
144 | 144 | { |
---|
145 | 145 | struct wlandevice *wlandev; |
---|
146 | 146 | |
---|
147 | | - wlandev = (struct wlandevice *)usb_get_intfdata(interface); |
---|
| 147 | + wlandev = usb_get_intfdata(interface); |
---|
148 | 148 | if (wlandev) { |
---|
149 | 149 | LIST_HEAD(cleanlist); |
---|
150 | 150 | struct hfa384x_usbctlx *ctlx, *temp; |
---|
.. | .. |
---|
230 | 230 | struct hfa384x *hw = NULL; |
---|
231 | 231 | struct wlandevice *wlandev; |
---|
232 | 232 | |
---|
233 | | - wlandev = (struct wlandevice *)usb_get_intfdata(interface); |
---|
| 233 | + wlandev = usb_get_intfdata(interface); |
---|
234 | 234 | if (!wlandev) |
---|
235 | 235 | return -ENODEV; |
---|
236 | 236 | |
---|
.. | .. |
---|
253 | 253 | struct hfa384x *hw = NULL; |
---|
254 | 254 | struct wlandevice *wlandev; |
---|
255 | 255 | |
---|
256 | | - wlandev = (struct wlandevice *)usb_get_intfdata(interface); |
---|
| 256 | + wlandev = usb_get_intfdata(interface); |
---|
257 | 257 | if (!wlandev) |
---|
258 | 258 | return -ENODEV; |
---|
259 | 259 | |
---|