Back out a part of the previous commit

This commit is contained in:
Gregory Nutt
2015-11-12 07:53:42 -06:00
parent 4a8626d332
commit 55686245c1
+9 -3
View File
@@ -1190,17 +1190,23 @@ int can_txready(FAR struct can_dev_s *dev)
ret = sem_post(&dev->cd_xmit.tx_sem); ret = sem_post(&dev->cd_xmit.tx_sem);
} }
} }
#if 0 /* REVISIT */
/* REVISIT: Does the fact that the S/W FIFO is empty also mean that the
* H/W FIFO is also empty? If we really want this to work this way, then
* we would probably need and additional parameter to tell us if the H/W
* FIFO is empty.
*/
else else
{ {
/* When the H/W FIFO has been emptied, we can disable further TX /* When the H/W FIFO has been emptied, we can disable further TX
* interrupts. * interrupts.
*
* REVISIT: Does the fact that the S/W FIFO is empty also mean
* that the H/W FIFO is also empty?
*/ */
dev_txint(dev, false); dev_txint(dev, false);
} }
#endif
return ret; return ret;
} }