summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-17 11:55:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-17 11:55:20 -0600
commitcbf456ad4ab8109df4e80293a2da73d94f9804a1 (patch)
tree9f8c4d7cfa4a39ba247500fa1813652b29938e58 /nuttx
parent2f175018846a885fd571cf2e119a5d3b2578007b (diff)
downloadpx4-nuttx-cbf456ad4ab8109df4e80293a2da73d94f9804a1.tar.gz
px4-nuttx-cbf456ad4ab8109df4e80293a2da73d94f9804a1.tar.bz2
px4-nuttx-cbf456ad4ab8109df4e80293a2da73d94f9804a1.zip
Tiva Ethernet: Back out previous change... it is WRONG
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/arch/arm/src/tiva/tm4c_ethernet.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/nuttx/arch/arm/src/tiva/tm4c_ethernet.c b/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
index 98efdb2ea..0a0a9f7d3 100644
--- a/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
+++ b/nuttx/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.
*/