From 0eb224aeae8469aed5e05051062d84332dacfa84 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 31 Dec 2014 13:45:19 -0600 Subject: [PATCH] Ethernet skeleton: Add some more example logic --- arch/arm/src/tiva/tm4c_ethernet.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/src/tiva/tm4c_ethernet.c b/arch/arm/src/tiva/tm4c_ethernet.c index f5447215efb..ea98b41f6df 100644 --- a/arch/arm/src/tiva/tm4c_ethernet.c +++ b/arch/arm/src/tiva/tm4c_ethernet.c @@ -2097,9 +2097,7 @@ static void tiva_txtimeout_expiry(int argc, uint32_t arg, ...) work_cancel(HPWORK, &priv->work); - /* Schedule to perform the TX timeout processing on the worker thread. - * TODO: Assure that no there is not pending interrupt or poll work. - */ + /* Schedule to perform the TX timeout processing on the worker thread. */ work_queue(HPWORK, &priv->work, tiva_txtimeout_work, priv, 0); @@ -2236,9 +2234,7 @@ static void tiva_poll_expiry(int argc, uint32_t arg, ...) if (work_available(&priv->work)) { - /* Schedule to perform the interrupt processing on the worker thread. - * TODO: Make sure that there can be no pending interrupt work. - */ + /* Schedule to perform the interrupt processing on the worker thread. */ work_queue(HPWORK, &priv->work, tiva_poll_work, priv, 0); }