RFC PCI/ASPM: Remove unncessary linked list in aspm.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 of 3 patches 0 repliesNew
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI/ASPM: Remove cached latencies in struct pcie_link_statedrivers/ | +29 | 0 replies | |
| 3/3 | PCI/ASPM: Remove struct aspm_latencydrivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] PCI/ASPM: Remove unncessary linked list in aspm.c
From: "Bolarinwa O. Saheed" <[email protected]>
An extra linked list is created inside aspm.c to keep track of devices on which the link state was enabled. However, it is possible to access them via existing device lists.
This series remove the extra linked list and other related members of the struct pcie_link_state: root, parent and downstream. All these are now either calculated or obtained directly when needed.
Bolarinwa O. Saheed (4):
PCI/ASPM: Remove struct pcie_link_state.parent PCI/ASPM: Remove struct pcie_link_state.root PCI/ASPM: Remove struct pcie_link_state.downstream PCI/ASPM: Remove unncessary linked list defined within aspm.c
drivers/pci/pcie/aspm.c | 121 +++++++++++++++++++++------------------- 1 file changed, 64 insertions(+), 57 deletions(-)
Signature · 1 line
2.20.1