Skip to content

Commit

Permalink
linux/ena: Fix compilation error in kernels >= 5.10
Browse files Browse the repository at this point in the history
Remove napi_hash_del(), which was removed from kernels >= 5.10

Signed-off-by: Arthur Kiyanovski <[email protected]>
  • Loading branch information
akiyano committed Feb 3, 2021
1 parent fb072c3 commit 5f89e5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/linux/ena/ena_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2572,7 +2572,6 @@ static void ena_del_napi_in_range(struct ena_adapter *adapter,
int i;

for (i = first_index; i < first_index + count; i++) {
napi_hash_del(&adapter->ena_napi[i].napi);
netif_napi_del(&adapter->ena_napi[i].napi);

#ifdef ENA_XDP_SUPPORT
Expand Down

0 comments on commit 5f89e5c

Please sign in to comment.