From: Magnus Damm Date: Wed, 14 Jun 2017 07:15:24 +0000 (+0900) Subject: net: update undefined ->ndo_change_mtu() comment X-Git-Tag: Ubuntu-5.2.0-15.16~6699^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=db46a0e1be7eac45d0bb1bdcd438b8d47c920451;p=mirror_ubuntu-eoan-kernel.git 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: Magnus Damm Signed-off-by: David S. Miller --- diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 846193dfb0ac..4ed952c17fc7 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -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