net: core: Correct function name netevent_unregister_notifier() in the kerneldoc

Fix the following W=1 kernel build warning(s):

 net/core/netevent.c:45: warning: expecting prototype for netevent_unregister_notifier(). Prototype was for unregister_netevent_notifier() instead

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Xiongfeng Wang 2021-03-27 16:15:51 +08:00 committed by David S. Miller
parent af82508743
commit bb2882bc6c

View File

@ -32,7 +32,7 @@ int register_netevent_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(register_netevent_notifier); EXPORT_SYMBOL_GPL(register_netevent_notifier);
/** /**
* netevent_unregister_notifier - unregister a netevent notifier block * unregister_netevent_notifier - unregister a netevent notifier block
* @nb: notifier * @nb: notifier
* *
* Unregister a notifier previously registered by * Unregister a notifier previously registered by