arch: imx6: Fix a compile error with CONFIG_DEBUG_ASSERTIONS=y

Summary:
- This commit fixes a compile error in imx_enet.c
  with CONFIG_DEBUG_ASSERTIONS=y

Impact:
- None

Testing:
- Tested with sabre-6quad:netnsh with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2021-01-29 22:44:27 +09:00 committed by Alan Carvalho de Assis
parent 96cbd1d8a1
commit 5bcdeb0851

View file

@ -546,7 +546,7 @@ static int imx_transmit(FAR struct imx_driver_s *priv)
(uintptr_t)txdesc + sizeof(struct enet_desc_s));
#if CONFIG_IMX_ENET_NTXBUFFERS > 1
DEBUGASSERT(priv->txtail != priv->txhead)
DEBUGASSERT(priv->txtail != priv->txhead);
#endif
DEBUGASSERT((txdesc->status1 & TXDESC_R) == 0);
#endif