mirror of
https://github.com/apache/nuttx.git
synced 2026-08-11 15:35:10 +00:00
drivers/net/rndis.c: Eliminate a warning when assertions disabled. Consequence of replacing assert() with DEBUGASSERT().
This commit is contained in:
parent
dbf57fb673
commit
18376a124a
1 changed files with 1 additions and 0 deletions
|
|
@ -1170,6 +1170,7 @@ static inline int rndis_recvpacket(FAR struct rndis_dev_s *priv,
|
|||
ret = work_queue(HPWORK, &priv->rxwork, rndis_rxdispatch,
|
||||
priv, 0);
|
||||
DEBUGASSERT(ret == 0);
|
||||
UNUSED(ret);
|
||||
|
||||
rndis_block_rx(priv);
|
||||
priv->rndis_host_tx_count++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue