summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2017-06-14 16:15:24 +0900
committerDavid S. Miller <davem@davemloft.net>2017-06-14 15:14:51 -0400
commitdb46a0e1be7eac45d0bb1bdcd438b8d47c920451 (patch)
tree66d30ffbadd3b629543c97d45263b5673e84a6f3 /include
parent74030603dfd9f76c0f279f19f1dd1ee3028fee7a (diff)
downloadlinux-db46a0e1be7eac45d0bb1bdcd438b8d47c920451.tar.gz
linux-db46a0e1be7eac45d0bb1bdcd438b8d47c920451.tar.bz2
linux-db46a0e1be7eac45d0bb1bdcd438b8d47c920451.zip
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 <damm+renesas@opensource.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h3
1 files changed, 1 insertions, 2 deletions
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