From: Hauke Mehrtens Date: Fri, 22 Feb 2019 19:12:57 +0000 (+0100) Subject: net: lantiq: Do not use eth_change_mtu() X-Git-Tag: v5.1-rc1~178^2~112 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6a5f9161bc0e282b813f8f7d98c1cea85c374a5e;p=uclinux-h8%2Flinux.git 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 Signed-off-by: David S. Miller --- 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)