mirror-linux/drivers/scsi/bfa
Lukas Wunner 383d89699c treewide: Drop pci_save_state() after pci_restore_state()
In 2009, commit c82f63e411 ("PCI: check saved state before restore")
changed the behavior of pci_restore_state() such that it became necessary
to call pci_save_state() afterwards, lest recovery from subsequent PCI
errors fails.

The commit has just been reverted and so all the pci_save_state() after
pci_restore_state() calls that have accumulated in the tree are now
superfluous.  Drop them.

Two drivers chose a different approach to achieve the same result:
drivers/scsi/ipr.c and drivers/net/ethernet/intel/e1000e/netdev.c set the
pci_dev's "state_saved" flag to true before calling pci_restore_state().
Drop this as well.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>  # qat
Link: https://patch.msgid.link/c2b28cc4defa1b743cf1dedee23c455be98b397a.1760274044.git.lukas@wunner.de
2025-11-24 16:58:59 -06:00
..
Makefile
bfa.h scsi: bfa: Remove unused bfa_core code 2024-10-15 17:11:55 -04:00
bfa_core.c scsi: bfa: Remove self-assignment code 2025-09-09 22:57:37 -04:00
bfa_cs.h scsi: bfa: Fix function pointer type mismatch for state machines 2024-02-26 21:16:48 -05:00
bfa_defs.h
bfa_defs_fcs.h scsi: bfa: Remove unused bfa_fcs code 2024-10-15 17:11:55 -04:00
bfa_defs_svc.h
bfa_fc.h scsi: bfa: Replace one-element array with flexible-array member in struct fc_rscn_pl_s 2023-08-21 17:13:56 -04:00
bfa_fcbuild.c scsi: bfa: Remove unused parsers 2024-11-20 21:39:51 -05:00
bfa_fcbuild.h scsi: bfa: Remove unused parsers 2024-11-20 21:39:51 -05:00
bfa_fcpim.c scsi: bfa: Remove unused misc code 2024-10-15 17:11:55 -04:00
bfa_fcpim.h scsi: bfa: Remove unused misc code 2024-10-15 17:11:55 -04:00
bfa_fcs.c treewide: correct the typo 'retun' 2024-09-09 16:47:43 -07:00
bfa_fcs.h scsi: bfa: Remove unused bfa_fcs code 2024-10-15 17:11:55 -04:00
bfa_fcs_fcpim.c scsi: bfa: Fix function pointer type mismatch for state machines 2024-02-26 21:16:48 -05:00
bfa_fcs_lport.c scsi: bfa: Remove unused bfa_fcs code 2024-10-15 17:11:55 -04:00
bfa_fcs_rport.c scsi: bfa: Remove unused bfa_fcs code 2024-10-15 17:11:55 -04:00
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c scsi: bfa: Remove unused bfa_ioc code 2024-10-15 17:11:55 -04:00
bfa_ioc.h scsi: bfa: Remove unused bfa_ioc code 2024-10-15 17:11:55 -04:00
bfa_ioc_cb.c
bfa_ioc_ct.c
bfa_modules.h scsi: bfa: Remove unused bfa_svc code 2024-10-15 17:11:55 -04:00
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c scsi: bfa: Remove unused bfa_svc code 2024-10-15 17:11:55 -04:00
bfa_svc.h scsi: bfa: Remove unused bfa_svc code 2024-10-15 17:11:55 -04:00
bfad.c treewide: Drop pci_save_state() after pci_restore_state() 2025-11-24 16:58:59 -06:00
bfad_attr.c scsi: Use device_show_string() helper for sysfs attributes 2024-05-04 17:37:04 +02:00
bfad_bsg.c scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn 2024-02-26 21:16:48 -05:00
bfad_bsg.h
bfad_debugfs.c scsi: bfa: Ensure the copied buf is NUL terminated 2024-05-06 21:19:24 -04:00
bfad_drv.h scsi: bfa: Remove unused misc code 2024-10-15 17:11:55 -04:00
bfad_im.c scsi: bfa: Double-free fix 2025-07-14 21:10:30 -04:00
bfad_im.h scsi: bfa: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:55 -04:00
bfi.h scsi: bfa: Fix cacography in bfi.h file 2024-10-03 21:41:37 -04:00
bfi_ms.h
bfi_reg.h