Commit cfb80082 authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: remove sizeof_priv member of rtw_netdev_priv_indicator

sizeof_priv does not used.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 78d41b16
...@@ -82,7 +82,6 @@ void _rtw_init_queue(struct __queue *pqueue); ...@@ -82,7 +82,6 @@ void _rtw_init_queue(struct __queue *pqueue);
struct rtw_netdev_priv_indicator { struct rtw_netdev_priv_indicator {
void *priv; void *priv;
u32 sizeof_priv;
}; };
struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv,
void *old_priv); void *old_priv);
......
...@@ -73,7 +73,6 @@ struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, ...@@ -73,7 +73,6 @@ struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv,
pnpi = netdev_priv(pnetdev); pnpi = netdev_priv(pnetdev);
pnpi->priv = old_priv; pnpi->priv = old_priv;
pnpi->sizeof_priv = sizeof_priv;
RETURN: RETURN:
return pnetdev; return pnetdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment