Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754378AbdFNHTR (ORCPT ); Wed, 14 Jun 2017 03:19:17 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34698 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751971AbdFNHTP (ORCPT ); Wed, 14 Jun 2017 03:19:15 -0400 From: Magnus Damm To: netdev@vger.kernel.org Cc: Magnus Damm , linux-kernel@vger.kernel.org, davem@davemloft.net Date: Wed, 14 Jun 2017 16:15:24 +0900 Message-Id: <149742452429.31376.14849833346784081961.sendpatchset@little-apple> Subject: [PATCH] net: update undefined ->ndo_change_mtu() comment Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 26 From: Magnus Damm 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 --- Applies on top of next-20170613 include/linux/netdevice.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- 0002/include/linux/netdevice.h +++ work/include/linux/netdevice.h 2017-04-29 16:23:13.980607110 +0900 @@ -910,8 +910,7 @@ struct netdev_xdp { * * 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