summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorNiklas Cassel <cassel@kernel.org>2025-12-04 14:18:04 +0100
committerDamien Le Moal <dlemoal@kernel.org>2025-12-15 16:32:04 +0900
commite8fe098170142416f11a0cae201254cd779f7fe9 (patch)
treee36eefb16d107be7c01741d23e973532bd96363c /include/linux/libata.h
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
ata: libata-scsi: Remove superfluous local_irq_save()
Commit 28a3fc2295a7 ("libata: implement ZBC IN translation") added ata_scsi_report_zones_complete(). Since the beginning, this function has disabled IRQs on the local CPU using local_irq_save(). qc->complete_fn is always called with ap->lock held, and the ap->lock is always taken using spin_lock_irq*(). Thus, this local_irq_save() is superfluous and can be removed. Signed-off-by: Niklas Cassel <cassel@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions