drivers: ethernet: eth_nxp_enet_qos_mac: remove unused variables

Read MAC registers to clear flags without using variables to avoid
compiler warnings.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
This commit is contained in:
Derek Snell 2025-06-05 17:28:35 -04:00 committed by Benjamin Cabé
commit c65100b521

View file

@ -288,8 +288,8 @@ static void eth_nxp_enet_qos_mac_isr(const struct device *dev)
enet_qos_t *base = config->base; enet_qos_t *base = config->base;
/* cleared on read */ /* cleared on read */
uint32_t mac_interrupts = base->MAC_INTERRUPT_STATUS; (void)base->MAC_INTERRUPT_STATUS;
uint32_t mac_rx_tx_status = base->MAC_RX_TX_STATUS; (void)base->MAC_RX_TX_STATUS;
uint32_t dma_interrupts = base->DMA_INTERRUPT_STATUS; uint32_t dma_interrupts = base->DMA_INTERRUPT_STATUS;
uint32_t dma_ch0_interrupts = base->DMA_CH[0].DMA_CHX_STAT; uint32_t dma_ch0_interrupts = base->DMA_CH[0].DMA_CHX_STAT;