net: core: Fix kernel-doc for call_netdevice_notifiers_info()
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 23 Jan 2018 03:14:27 +0000 (19:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jan 2018 16:06:50 +0000 (11:06 -0500)
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 94435cd..7af0ef4 100644 (file)
@@ -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