Commit db46a0e1 authored by Magnus Damm's avatar Magnus Damm Committed by David S. Miller

net: update undefined ->ndo_change_mtu() comment

Update ->ndo_change_mtu() callback comment to remove text
about returning error in case of undefined callback. This
change makes the comment match the existing code behavior.
Signed-off-by: default avatarMagnus Damm <damm+renesas@opensource.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 74030603
...@@ -914,8 +914,7 @@ struct xfrmdev_ops { ...@@ -914,8 +914,7 @@ struct xfrmdev_ops {
* *
* int (*ndo_change_mtu)(struct net_device *dev, int new_mtu); * int (*ndo_change_mtu)(struct net_device *dev, int new_mtu);
* Called when a user wants to change the Maximum Transfer Unit * Called when a user wants to change the Maximum Transfer Unit
* of a device. If not defined, any request to change MTU will * of a device.
* will return an error.
* *
* void (*ndo_tx_timeout)(struct net_device *dev); * void (*ndo_tx_timeout)(struct net_device *dev);
* Callback used when the transmitter has not made any progress * Callback used when the transmitter has not made any progress
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment