net/mlx4_en: remove napi_hash_del() call
authorEric Dumazet <edumazet@google.com>
Wed, 16 Nov 2016 13:49:22 +0000 (05:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 16:17:05 +0000 (11:17 -0500)
commitbb07fafaec70183f1dcd3d4a1459abbc409753e2
tree37d68ef70a7d48ef58e661473eb3a61256b95e53
parent6a02f5eb6a8a97089193758d95352b1b58f41481
net/mlx4_en: remove napi_hash_del() call

There is no need calling napi_hash_del()+synchronize_rcu() before
calling netif_napi_del()

netif_napi_del() does this already.

Using napi_hash_del() in a driver is useful only when dealing with
a batch of NAPI structures, so that a single synchronize_rcu() can
be used. mlx4_en_deactivate_cq() is deactivating a single NAPI.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_cq.c