]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: don't call tx_remove if there isn't one
authorEdward Cree <ecree@solarflare.com>
Tue, 30 Jun 2020 12:15:34 +0000 (13:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:09:09 +0000 (13:09 -0700)
commit56c128078bdd605d214d582ebbd9c2e23d127612
treef20e6a4149e05ec5d1644b285c0ca0314c70e614
parentdff784cccbb0b5f628c8a63064fa981be9c294c3
sfc: don't call tx_remove if there isn't one

EF100 won't have an efx->type->tx_remove method, because there's
 nothing for it to do.  So make the call conditional.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/nic_common.h