sched/wqueue: Change the return type of work_notifier_teardown to void

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-05-13 18:26:42 +08:00
committed by Petro Karashchenko
parent f208c4bbd4
commit 9072eecc30
12 changed files with 30 additions and 50 deletions
+3 -4
View File
@@ -164,16 +164,15 @@ int udp_writebuffer_notifier_setup(worker_t worker,
* udp_readahead_notifier_setup().
*
* Returned Value:
* Zero (OK) is returned on success; a negated errno value is returned on
* any failure.
* None.
*
****************************************************************************/
int udp_notifier_teardown(int key)
void udp_notifier_teardown(int key)
{
/* This is just a simple wrapper around work_notifier_teardown(). */
return work_notifier_teardown(key);
work_notifier_teardown(key);
}
/****************************************************************************