net: ena: Remove unlikely() from IS_ERR() condition
IS_ERR() is already using unlikely internally. Signed-off-by: Kamal Heib <kheib@redhat.com> Acked-by: Arthur Kiyanovski <akiyano@amazon.com> Link: https://lore.kernel.org/r/20240213161502.2297048-1-kheib@redhat.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
81800aef0e
commit
e8d8acad5a
@ -545,7 +545,7 @@ static int ena_alloc_rx_buffer(struct ena_ring *rx_ring,
|
||||
|
||||
/* We handle DMA here */
|
||||
page = ena_alloc_map_page(rx_ring, &dma);
|
||||
if (unlikely(IS_ERR(page)))
|
||||
if (IS_ERR(page))
|
||||
return PTR_ERR(page);
|
||||
|
||||
netif_dbg(rx_ring->adapter, rx_status, rx_ring->netdev,
|
||||
|
Loading…
x
Reference in New Issue
Block a user