]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ata: libata-transport: inline ata_attach|release_transport
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 2 Apr 2026 13:30:05 +0000 (15:30 +0200)
committerNiklas Cassel <cassel@kernel.org>
Thu, 2 Apr 2026 18:51:00 +0000 (20:51 +0200)
commitf2122465398a875ef5a31bde85602e6dfac17a83
treeeadb29e181f76aa170a2e4d9e0c28e95af385aeb
parentee1ed7a864389ba727ac9b3549beab08e3966735
ata: libata-transport: inline ata_attach|release_transport

Both functions are helpers which are used only once. So remove them and
merge their code into libata_transport_init() and libata_transport_exit()
respectively.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/libata-core.c
drivers/ata/libata-transport.c
drivers/ata/libata-transport.h