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
+2 -3
View File
@@ -478,13 +478,12 @@ int netdown_notifier_setup(worker_t worker, FAR struct net_driver_s *dev,
* netdown_notifier_setup().
*
* Returned Value:
* Zero (OK) is returned on success; a negated errno value is returned on
* any failure.
* None.
*
****************************************************************************/
#ifdef CONFIG_NETDOWN_NOTIFIER
int netdown_notifier_teardown(int key);
void netdown_notifier_teardown(int key);
#endif
/****************************************************************************