Commit 383d896
treewide: Drop pci_save_state() after pci_restore_state()
In 2009, commit c82f63e ("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.de1 parent a2f1e22 commit 383d896
30 files changed
Lines changed: 0 additions & 57 deletions
File tree
- drivers
- crypto/intel/qat/qat_common
- dma/ioat
- net/ethernet
- broadcom
- bnx2x
- chelsio
- cxgb3
- cxgb4
- hisilicon/hibmcge
- intel
- e1000e
- fm10k
- i40e
- ice
- igb
- igc
- ixgbe
- mellanox
- mlx4
- mlx5/core
- meta/fbnic
- microchip
- myricom/myri10ge
- neterion
- pci/pcie
- scsi
- bfa
- csiostor
- lpfc
- qla2xxx
- qla4xxx
- tty/serial
- 8250
- jsm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
207 | | - | |
208 | 206 | | |
209 | 207 | | |
210 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
1289 | | - | |
1290 | 1289 | | |
1291 | 1290 | | |
1292 | 1291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6444 | 6444 | | |
6445 | 6445 | | |
6446 | 6446 | | |
6447 | | - | |
6448 | 6447 | | |
6449 | 6448 | | |
6450 | 6449 | | |
| |||
8718 | 8717 | | |
8719 | 8718 | | |
8720 | 8719 | | |
8721 | | - | |
8722 | 8720 | | |
8723 | 8721 | | |
8724 | 8722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14216 | 14216 | | |
14217 | 14217 | | |
14218 | 14218 | | |
14219 | | - | |
14220 | 14219 | | |
14221 | 14220 | | |
14222 | 14221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18352 | 18352 | | |
18353 | 18353 | | |
18354 | 18354 | | |
18355 | | - | |
18356 | 18355 | | |
18357 | 18356 | | |
18358 | 18357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2933 | 2933 | | |
2934 | 2934 | | |
2935 | 2935 | | |
2936 | | - | |
2937 | 2936 | | |
2938 | 2937 | | |
2939 | 2938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5456 | 5456 | | |
5457 | 5457 | | |
5458 | 5458 | | |
5459 | | - | |
5460 | 5459 | | |
5461 | 5460 | | |
5462 | 5461 | | |
| |||
5471 | 5470 | | |
5472 | 5471 | | |
5473 | 5472 | | |
5474 | | - | |
5475 | 5473 | | |
5476 | 5474 | | |
5477 | 5475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | 161 | | |
163 | 162 | | |
164 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7195 | 7195 | | |
7196 | 7196 | | |
7197 | 7197 | | |
7198 | | - | |
7199 | 7198 | | |
7200 | 7199 | | |
7201 | 7200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2423 | 2423 | | |
2424 | 2424 | | |
2425 | 2425 | | |
2426 | | - | |
2427 | | - | |
2428 | | - | |
2429 | | - | |
2430 | | - | |
2431 | | - | |
2432 | 2426 | | |
2433 | 2427 | | |
2434 | 2428 | | |
| |||
0 commit comments