diff --git a/include/nuttx/mm/iob.h b/include/nuttx/mm/iob.h index 0c075b117a..0954c0e852 100644 --- a/include/nuttx/mm/iob.h +++ b/include/nuttx/mm/iob.h @@ -272,30 +272,6 @@ int iob_notifier_setup(int qid, worker_t worker, FAR void *arg); int iob_notifier_teardown(int key); #endif -/**************************************************************************** - * Name: iob_notifier_signal - * - * Description: - * An IOB has become available. Signal all threads waiting for an IOB - * that an IOB is available. - * - * When an IOB becomes available, *all* of the workers waiting for an - * IOB will be executed. If there are multiple workers for waiting an IOB - * then only the first to execute will get the IOB. Others will - * need to call iob_notify_setup() once again. - * - * Input Parameters: - * None. - * - * Returned Value: - * None. - * - ****************************************************************************/ - -#ifdef CONFIG_IOB_NOTIFIER -void iob_notifier_signal(void); -#endif - /**************************************************************************** * Name: iob_free_chain * diff --git a/mm/iob/iob_notifier.c b/mm/iob/iob_notifier.c index c914a644f5..0a7015cfff 100644 --- a/mm/iob/iob_notifier.c +++ b/mm/iob/iob_notifier.c @@ -84,19 +84,6 @@ int iob_notifier_setup(int qid, worker_t worker, FAR void *arg) DEBUGASSERT(worker != NULL); - /* If there are already free IOBs, then return zero without setting up the - * notification. - * - * REVISIT: The 'throttled' argument should not always be 'false'. - */ - - if (iob_navail(false) > 0) - { - return 0; - } - - /* Otherwise, this is just a simple wrapper around work_notifer_setup(). */ - info.evtype = WORK_IOB_AVAIL; info.qid = qid; info.qualifier = NULL;