diff options
| author | Oliver O'Halloran <[email protected]> | 2019-07-15 18:56:11 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-01-23 21:31:19 +1100 |
| commit | 758b423275f0738fa4d382057c03f3d45c12905d (patch) | |
| tree | 5b7d30bb9530a7066ee21a183b615381679070e0 /tools/perf/scripts/python | |
| parent | 4107248c5615ab20b64073f2dd5917b3961239dc (diff) | |
powerpc/eeh_sysfs: Remove double pci_dn lookup.
In eeh_notify_resume_show() the pci_dn for the device is looked up once in
the declaration block and then once after checking for a NULL eeh_dev.
Remove the second lookup since it's pointless.
Signed-off-by: Oliver O'Halloran <[email protected]>
Reviewed-by: Sam Bobroff <[email protected]>
Tested-by: Sam Bobroff <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions