diff options
author | Martin Habets <habetsm.xilinx@gmail.com> | 2023-07-27 11:41:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-28 09:54:17 +0100 |
commit | a623b3a58a85114d40d4857d1a0d269006a3ae7d (patch) | |
tree | 5a4b55239c6c8e8c4ef36bc9cf516bfff5062c7c /drivers/net/ethernet/sfc/efx_common.c | |
parent | sfc: Remove PTP code for Siena (diff) | |
download | linux-a623b3a58a85114d40d4857d1a0d269006a3ae7d.tar.xz linux-a623b3a58a85114d40d4857d1a0d269006a3ae7d.zip |
sfc: Remove some NIC type indirections that are no longer needed
The special handling for SRIOV reset and FLR is not needed on EF10.
Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx_common.c')
-rw-r--r-- | drivers/net/ethernet/sfc/efx_common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/efx_common.c b/drivers/net/ethernet/sfc/efx_common.c index 361687de308d..c8d8f1e9a21a 100644 --- a/drivers/net/ethernet/sfc/efx_common.c +++ b/drivers/net/ethernet/sfc/efx_common.c @@ -785,8 +785,6 @@ int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) mutex_unlock(&efx->rss_lock); efx->type->filter_table_restore(efx); up_write(&efx->filter_sem); - if (efx->type->sriov_reset) - efx->type->sriov_reset(efx); mutex_unlock(&efx->mac_lock); |