diff options
author | Joe Perches <joe@perches.com> | 2010-11-15 13:12:32 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-16 12:06:47 -0800 |
commit | e33196e108197e4a1f1a5331dc7740ad9263f4f5 (patch) | |
tree | 161848bdd2c33738903bf9f911ec34cce927aa92 /drivers/staging/rtl8712 | |
parent | 345594d6ef696b8ad4b96cffe462c6cde2f27292 (diff) | |
download | linux-3.10-e33196e108197e4a1f1a5331dc7740ad9263f4f5.tar.gz linux-3.10-e33196e108197e4a1f1a5331dc7740ad9263f4f5.tar.bz2 linux-3.10-e33196e108197e4a1f1a5331dc7740ad9263f4f5.zip |
drivers/staging: Remove unnecessary casts of netdev_priv
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r-- | drivers/staging/rtl8712/usb_intf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/usb_intf.c b/drivers/staging/rtl8712/usb_intf.c index f1f0c63e5bb..a692ee88b9e 100644 --- a/drivers/staging/rtl8712/usb_intf.c +++ b/drivers/staging/rtl8712/usb_intf.c @@ -527,7 +527,7 @@ error: static void r871xu_dev_remove(struct usb_interface *pusb_intf) { struct net_device *pnetdev = usb_get_intfdata(pusb_intf); - struct _adapter *padapter = (struct _adapter *)netdev_priv(pnetdev); + struct _adapter *padapter = netdev_priv(pnetdev); struct usb_device *udev = interface_to_usbdev(pusb_intf); if (padapter) { |