summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-04-15 09:58:27 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-16 11:20:04 +0200
commitd130fe5c95739472b61b30f3f2b401ee43d5e3ea (patch)
treefea95e6583b317b5a6e0e627776612a14fcd0d4e /drivers/net/wireless/ipw2x00
parentgro: New frags interface to avoid copying shinfo (diff)
downloadlinux-d130fe5c95739472b61b30f3f2b401ee43d5e3ea.tar.xz
linux-d130fe5c95739472b61b30f3f2b401ee43d5e3ea.zip
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: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r--drivers/net/wireless/ipw2x00/libipw_module.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c
index 92a26922e792..8ce6e961c5da 100644
--- a/drivers/net/wireless/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/ipw2x00/libipw_module.c
@@ -154,10 +154,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
goto failed;
}
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;