mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
bnxt_en: do not call napi_hash_add()
This is automatically done from netif_napi_add(), and we want to not export napi_hash_add() anymore in the following patch. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Michael Chan <michael.chan@broadcom.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
de464375da
commit
ef8d759b52
1 changed files with 0 additions and 1 deletions
|
@ -4954,7 +4954,6 @@ static void bnxt_init_napi(struct bnxt *bp)
|
|||
bnapi = bp->bnapi[cp_nr_rings];
|
||||
netif_napi_add(bp->dev, &bnapi->napi,
|
||||
bnxt_poll_nitroa0, 64);
|
||||
napi_hash_add(&bnapi->napi);
|
||||
}
|
||||
} else {
|
||||
bnapi = bp->bnapi[0];
|
||||
|
|
Loading…
Reference in a new issue