projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e728fdf
)
net: lantiq: Do not use eth_change_mtu()
author
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 22 Feb 2019 19:12:57 +0000
(20:12 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Feb 2019 01:35:42 +0000
(17:35 -0800)
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>
drivers/net/ethernet/lantiq_xrx200.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/lantiq_xrx200.c
b/drivers/net/ethernet/lantiq_xrx200.c
index 2d4d10a017e59bfc96870e9fd94338986f6ef7f2..d29104de0d53c06ae431b92bd6aa75cb579bd5ee 100644
(file)
--- 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)