diff options
author | Serge Semin <[email protected]> | 2022-06-24 17:34:22 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2022-07-05 19:00:52 -0500 |
commit | bd42f3108b41687f579dbb6705e7a2711a063485 (patch) | |
tree | aa02a1ef3782e81ca0d6de9b8360c7c191aef43d /scripts/gdb/linux/tasks.py | |
parent | 60a4352f648c08902599cc06be12f9d1b475f31e (diff) |
PCI: dwc: Reuse local pointer to the resource data
dw_pcie_host_init() has two instances of the resource structure pointers
used in unrelated places. It's pointless to have two different local
storages for them since the corresponding code is small and having
resource-specific names doesn't make it more readable.
Convert these parts of the function to use a common pointer to the
resource structure instance.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions