bnxt_en: do not call napi_hash_add()
authorEric Dumazet <[email protected]>
Tue, 8 Nov 2016 19:06:53 +0000 (11:06 -0800)
committerDavid S. Miller <[email protected]>
Thu, 10 Nov 2016 02:16:05 +0000 (21:16 -0500)
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 <[email protected]>
Cc: Michael Chan <[email protected]>
Acked-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/broadcom/bnxt/bnxt.c

index a042da1ff4b90e9aae4f76db71c99c2c4da321d3..d313b02485a10b2b7995076578ce3632865b475f 100644 (file)
@@ -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];