diff options
| author | Bjorn Helgaas <[email protected]> | 2021-12-08 13:24:47 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-12-14 06:59:20 -0700 |
| commit | 9e541f142dab67264075baaf8fd2eb4423742c16 (patch) | |
| tree | 03728cca8e7dc2b321ff8e0248ff857f1454002d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 2920417c98dbe4b58200c12fc9dc152834b76e42 (diff) | |
mtip32xx: remove pointless drvdata lookups
Previously we passed a struct pci_dev * to mtip_check_surprise_removal(),
which immediately looked up the driver_data. But all callers already have
the driver_data pointer, so just pass it directly and skip the extra
lookup. No functional change intended.
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions