]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ata: libata-scsi: make ata_scsi_simulate() static
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 19 Feb 2026 01:47:03 +0000 (10:47 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 24 Feb 2026 00:40:58 +0000 (09:40 +0900)
commitfa4f81a8c15d4018eb2053b093bf1584777e80d4
tree8aa78c78c85ae33693e079c29e3c6a0e9ad06ec4
parent9a5eb2adb1ec90f854d9b45c75f0fcb3ae981356
ata: libata-scsi: make ata_scsi_simulate() static

ata_scsi_simulate() is called only from libata-scsi.c. Move this
function definition as a static function before its call in
__ata_scsi_queuecmd() and remove its declaration from
include/linux/libata.h.

No functional changes.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/ata/libata-scsi.c
include/linux/libata.h