diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2026-04-02 15:30:48 +0200 |
|---|---|---|
| committer | Niklas Cassel <cassel@kernel.org> | 2026-04-02 21:01:02 +0200 |
| commit | 365da8c68739a28b44e414696a5ff0ee4c58e7d3 (patch) | |
| tree | 5334563d44d8274a40240756bdbb5eedffaf98bc /tools/perf/scripts/python/stackcollapse.py | |
| parent | f2122465398a875ef5a31bde85602e6dfac17a83 (diff) | |
ata: libata-transport: use static struct ata_transport_internal to simplify match functions
Both matching functions can make use of static struct
ata_transport_internal. This eliminates the dependency on static
variable ata_scsi_transport_template, and it allows to remove helper
to_ata_internal(). Small drawback is that a forward declaration of
both functions is needed.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
