Commit d130fe5c authored by Alexander Beregalov's avatar Alexander Beregalov Committed by David S. Miller

ipw2x00: remove old compat_net_dev_ops code

Since both ipw2100 and ipw2200 are already converted to new
net_device_ops this code is useless.
Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 76620aaf
...@@ -154,10 +154,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv) ...@@ -154,10 +154,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
goto failed; goto failed;
} }
ieee = netdev_priv(dev); ieee = netdev_priv(dev);
#ifdef CONFIG_COMPAT_NET_DEV_OPS
dev->hard_start_xmit = ieee80211_xmit;
dev->change_mtu = ieee80211_change_mtu;
#endif
ieee->dev = dev; ieee->dev = dev;
......
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