diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-07-06 23:59:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-07 11:14:45 +0300 |
commit | 3a7af34fb6ecd9fbeb4454fc03c654b26fab5f5e (patch) | |
tree | fdded86c606afc8cecfc910065d7c94c8fac8d8c /drivers/net/ethernet/pensando | |
parent | abfb2a58a5377ebab717d4362d6180f901b6e5c1 (diff) | |
download | linux-3a7af34fb6ecd9fbeb4454fc03c654b26fab5f5e.tar.xz |
ionic: remove dead device fail path
Remove the probe error path code that leaves the driver bound
to the device, but with essentially a dead device. This was
useful maybe twice early in the driver's life and no longer
makes sense to keep.
Fixes: 30a1e6d0f8e2 ("ionic: keep ionic dev on lif init fail")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c b/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c index b8678da1cce5..ab7d217b98b3 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c @@ -353,12 +353,6 @@ err_out_reset: ionic_reset(ionic); err_out_teardown: ionic_dev_teardown(ionic); - pci_clear_master(pdev); - /* Don't fail the probe for these errors, keep - * the hw interface around for inspection - */ - return 0; - err_out_unmap_bars: ionic_unmap_bars(ionic); err_out_pci_release_regions: |