Skip to content

Commit

Permalink
net: update undefined ->ndo_change_mtu() comment
Browse files Browse the repository at this point in the history
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: Magnus Damm <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Magnus Damm authored and davem330 committed Jun 14, 2017
1 parent 7403060 commit db46a0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,7 @@ struct xfrmdev_ops {
*
* int (*ndo_change_mtu)(struct net_device *dev, int new_mtu);
* Called when a user wants to change the Maximum Transfer Unit
* of a device. If not defined, any request to change MTU will
* will return an error.
* of a device.
*
* void (*ndo_tx_timeout)(struct net_device *dev);
* Callback used when the transmitter has not made any progress
Expand Down

0 comments on commit db46a0e

Please sign in to comment.