]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
atmel: fix netdev ops conversion
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 21 Apr 2009 09:08:51 +0000 (02:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2009 09:08:51 +0000 (02:08 -0700)
sparse says:

drivers/net/wireless/atmel.c:1501:3: warning: Initializer entry defined twice
drivers/net/wireless/atmel.c:1505:3:   also defined here

and it's correct; atmel has its own ndo_change_mtu and
shouldn't use eth_change_mtu.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/atmel.c

index 857d84148b1d2d213a0a81ab76d401298eb338fe..27eef8fb7107b3e82b263caf0ea49423be9d2686 100644 (file)
@@ -1502,7 +1502,6 @@ static const struct net_device_ops atmel_netdev_ops = {
        .ndo_set_mac_address    = atmel_set_mac_address,
        .ndo_start_xmit         = start_tx,
        .ndo_do_ioctl           = atmel_ioctl,
-       .ndo_change_mtu         = eth_change_mtu,
        .ndo_validate_addr      = eth_validate_addr,
 };