Skip to content

Commit 973334a

Browse files
Eric Dumazetdavem330
authored andcommitted
sfc: remove napi_hash_del() call
Calling napi_hash_del() after netif_napi_del() is pointless. Signed-off-by: Eric Dumazet <[email protected]> Cc: Edward Cree <[email protected]> Cc: Bert Kenward <[email protected]> Acked-by: Bert Kenward <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a23a8f5 commit 973334a

File tree

1 file changed

+2
-3
lines changed
  • drivers/net/ethernet/sfc

1 file changed

+2
-3
lines changed

drivers/net/ethernet/sfc/efx.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,10 +2113,9 @@ static void efx_init_napi(struct efx_nic *efx)
21132113

21142114
static void efx_fini_napi_channel(struct efx_channel *channel)
21152115
{
2116-
if (channel->napi_dev) {
2116+
if (channel->napi_dev)
21172117
netif_napi_del(&channel->napi_str);
2118-
napi_hash_del(&channel->napi_str);
2119-
}
2118+
21202119
channel->napi_dev = NULL;
21212120
}
21222121

0 commit comments

Comments
 (0)