提交 7bcd9ce6 编写于 作者: A Ali Bahar 提交者: Greg Kroah-Hartman

staging: r8712u: Merging Realtek's latest (v2.6.6). Removed os_free_netdev.

Replaced (Realtek's)  os_free_netdev by (linux's own) free_netdev.
Signed-off-by: NAli Bahar <ali@internetDog.org>
Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 7c1f4203
......@@ -348,7 +348,7 @@ u8 r8712_free_drv_sw(struct _adapter *padapter)
_r8712_free_recv_priv(&padapter->recvpriv);
mp871xdeinit(padapter);
if (pnetdev)
os_free_netdev(pnetdev);
free_netdev(pnetdev);
return _SUCCESS;
}
......
......@@ -78,11 +78,6 @@ struct __queue {
spin_lock_init(&((pqueue)->lock)); \
} while (0)
static inline void os_free_netdev(struct net_device *dev)
{
free_netdev(dev);
}
static inline struct list_head *get_next(struct list_head *list)
{
return list->next;
......
......@@ -599,7 +599,7 @@ static int r871xu_drv_init(struct usb_interface *pusb_intf,
if (padapter->dvobj_deinit != NULL)
padapter->dvobj_deinit(padapter);
if (pnetdev)
os_free_netdev(pnetdev);
free_netdev(pnetdev);
return -ENODEV;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册