From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751403AbeAWDO6 (ORCPT ); Mon, 22 Jan 2018 22:14:58 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:46424 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151AbeAWDOy (ORCPT ); Mon, 22 Jan 2018 22:14:54 -0500 X-Google-Smtp-Source: AH8x224is1l4s4Ia0ECriDdqTAHE30jLHFgNeQ1QfdgWsFoBSEry4rpZjMM+AIo21z6npdAe1EcIQg== From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , "David S. Miller" , Daniel Borkmann , Eric Dumazet , Jakub Kicinski , Jesper Dangaard Brouer , Rasmus Villemoes , John Fastabend , tcharding , Ido Schimmel , linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next 3/4] net: core: Fix kernel-doc for call_netdevice_notifiers_info() Date: Mon, 22 Jan 2018 19:14:27 -0800 Message-Id: <20180123031428.4266-4-f.fainelli@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180123031428.4266-1-f.fainelli@gmail.com> References: <20180123031428.4266-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the @dev comment, since we do not have a net_device argument, fixes the following kernel doc warning: /net/core/dev.c:1707: warning: Excess function parameter 'dev' description in 'call_netdevice_notifiers_info' Signed-off-by: Florian Fainelli --- net/core/dev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index 94435cd09072..7af0ef425ca3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1694,7 +1694,6 @@ EXPORT_SYMBOL(unregister_netdevice_notifier); /** * call_netdevice_notifiers_info - call all network notifier blocks * @val: value passed unmodified to notifier function - * @dev: net_device pointer passed unmodified to notifier function * @info: notifier information data * * Call all network notifier blocks. Parameters and return value -- 2.14.1