summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/lantiq_xrx200.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-02-22 20:12:57 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-25 02:35:42 +0100
commit6a5f9161bc0e282b813f8f7d98c1cea85c374a5e (patch)
treeae18537e2635940dc4137f87790b9dc7da5f3c65 /drivers/net/ethernet/lantiq_xrx200.c
parentnet: phy: improve definition of __ETHTOOL_LINK_MODE_MASK_NBITS (diff)
downloadlinux-6a5f9161bc0e282b813f8f7d98c1cea85c374a5e.tar.xz
linux-6a5f9161bc0e282b813f8f7d98c1cea85c374a5e.zip
net: lantiq: Do not use eth_change_mtu()
eth_change_mtu() is not needed any more, the networking subsystem will call it automatically when this callback is not implemented. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/lantiq_xrx200.c')
-rw-r--r--drivers/net/ethernet/lantiq_xrx200.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/lantiq_xrx200.c b/drivers/net/ethernet/lantiq_xrx200.c
index 2d4d10a017e5..d29104de0d53 100644
--- a/drivers/net/ethernet/lantiq_xrx200.c
+++ b/drivers/net/ethernet/lantiq_xrx200.c
@@ -335,7 +335,6 @@ static const struct net_device_ops xrx200_netdev_ops = {
.ndo_start_xmit = xrx200_start_xmit,
.ndo_set_mac_address = eth_mac_addr,
.ndo_validate_addr = eth_validate_addr,
- .ndo_change_mtu = eth_change_mtu,
};
static irqreturn_t xrx200_dma_irq(int irq, void *ptr)