All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: lantiq: Do not use eth_change_mtu()
@ 2019-02-22 19:12 Hauke Mehrtens
  2019-02-25  1:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Hauke Mehrtens @ 2019-02-22 19:12 UTC (permalink / raw)
  To: davem; +Cc: netdev, Hauke Mehrtens

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>
---
 drivers/net/ethernet/lantiq_xrx200.c | 1 -
 1 file changed, 1 deletion(-)

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)
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: lantiq: Do not use eth_change_mtu()
  2019-02-22 19:12 [PATCH] net: lantiq: Do not use eth_change_mtu() Hauke Mehrtens
@ 2019-02-25  1:35 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-02-25  1:35 UTC (permalink / raw)
  To: hauke; +Cc: netdev

From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Fri, 22 Feb 2019 20:12:57 +0100

> 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>

Applied to net-next.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-25  1:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22 19:12 [PATCH] net: lantiq: Do not use eth_change_mtu() Hauke Mehrtens
2019-02-25  1:35 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.