diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-12-18 16:09:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-19 13:42:41 +0300 |
commit | 9054b41c4e1b5725e573c13166cee56bf7034bbd (patch) | |
tree | 55e7f73a97d775355948d777b043badb3bbbcadc /net/core/dev.c | |
parent | aba5b397cad7d398b385aaf5029f99f41b690466 (diff) | |
download | linux-9054b41c4e1b5725e573c13166cee56bf7034bbd.tar.xz |
net: Fix documentation for unregister_netdevice_notifier_net
unregister_netdevice_notifier_net() is used for unregister a notifier
registered by register_netdevice_notifier_net(). Also s/into/from/.
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index b76fb37b381e..cf78f35bc0b9 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1840,7 +1840,7 @@ EXPORT_SYMBOL(register_netdevice_notifier_net); * @nb: notifier * * Unregister a notifier previously registered by - * register_netdevice_notifier(). The notifier is unlinked into the + * register_netdevice_notifier_net(). The notifier is unlinked from the * kernel structures and may then be reused. A negative errno code * is returned on a failure. * |