From 65ae9c990cc9b64cf7d119fa15ddb64ce042e654 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 17 Jan 2015 11:55:20 -0600 Subject: [PATCH] Tiva Ethernet: Back out previous change... it is WRONG --- arch/arm/src/tiva/tm4c_ethernet.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm/src/tiva/tm4c_ethernet.c b/arch/arm/src/tiva/tm4c_ethernet.c index 98efdb2ea3..0a0a9f7d3f 100644 --- a/arch/arm/src/tiva/tm4c_ethernet.c +++ b/arch/arm/src/tiva/tm4c_ethernet.c @@ -1664,18 +1664,6 @@ static void tiva_receive(FAR struct tiva_ethmac_s *priv) { struct net_driver_s *dev = &priv->dev; - /* I have seen this error just after writing a new image to FLASH. After - * resetting he board, I never see it again. I am guessing that the - * flasher leaves the hardware in a bad state(?). - */ - - // DEBUGASSERT(dev->d_buf != NULL); - if (dev->d_buf == NULL) - { - nlldbg("ERROR: Ignoring NULL I/O buffer\n"); - return; - } - /* Loop while while tiva_recvframe() successfully retrieves valid * Ethernet frames. */