All usage of this function was removed three years ago, and the function was marked as deprecated: a52ad514fdf3 ("net: deprecate eth_change_mtu, remove usage") So I think we can remove it now.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -43,7 +43,6 @@ __be16 eth_header_parse_protocol(const struct sk_buff *skb); · 42 unmodified lines | ||
| 43 | 43 | int eth_prepare_mac_addr_change(struct net_device *dev, void *p); |
| 44 | 44 | void eth_commit_mac_addr_change(struct net_device *dev, void *p); |
| 45 | 45 | int eth_mac_addr(struct net_device *dev, void *p); |
| 46 | −int eth_change_mtu(struct net_device *dev, int new_mtu); | |
| 47 | 46 | int eth_validate_addr(struct net_device *dev); |
| 48 | 47 | |
| 49 | 48 | struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, |