ipw2x00: remove old compat_net_dev_ops code
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 15 Apr 2009 07:58:27 +0000 (07:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2009 09:20:04 +0000 (02:20 -0700)
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>
drivers/net/wireless/ipw2x00/libipw_module.c

index 92a26922e792d73721a2e4ca0ed3c2c3a125fcb5..8ce6e961c5da08396a1805f5b46d428865b84924 100644 (file)
@@ -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;