Commit ef8d759b authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: default avatarEric Dumazet <edumazet@google.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Acked-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de464375
...@@ -4954,7 +4954,6 @@ static void bnxt_init_napi(struct bnxt *bp) ...@@ -4954,7 +4954,6 @@ static void bnxt_init_napi(struct bnxt *bp)
bnapi = bp->bnapi[cp_nr_rings]; bnapi = bp->bnapi[cp_nr_rings];
netif_napi_add(bp->dev, &bnapi->napi, netif_napi_add(bp->dev, &bnapi->napi,
bnxt_poll_nitroa0, 64); bnxt_poll_nitroa0, 64);
napi_hash_add(&bnapi->napi);
} }
} else { } else {
bnapi = bp->bnapi[0]; bnapi = bp->bnapi[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment