summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2026-04-02 15:30:48 +0200
committerNiklas Cassel <cassel@kernel.org>2026-04-02 21:01:02 +0200
commit365da8c68739a28b44e414696a5ff0ee4c58e7d3 (patch)
tree5334563d44d8274a40240756bdbb5eedffaf98bc /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parentf2122465398a875ef5a31bde85602e6dfac17a83 (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 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions