libata: remove ata_sff_data_xfer_noirq()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 11 Jul 2018 15:21:05 +0000 (17:21 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 11 Jul 2018 17:45:28 +0000 (10:45 -0700)
commit23ebda2fc715534d383d59ae6740d4e3ebd43798
treea94766bcc0e926fffa87fa941adb25787e1c923f
parentaece27a2f01be4bb7683790f69cd1bed3a0929a2
libata: remove ata_sff_data_xfer_noirq()

ata_sff_data_xfer_noirq() is invoked via the ->sff_data_xfer hook. The
latter is invoked by ata_pio_sector(), atapi_send_cdb() and
__atapi_pio_bytes() which in turn is invoked by ata_sff_hsm_move().
The latter function requires that the "ap->lock" lock is held which
needs to be taken with disabled interrupts.

There is no need have to have ata_sff_data_xfer_noirq() which invokes
ata_sff_data_xfer32() with disabled interrupts because at this point the
interrupts are already disabled.
Remove the function and its references to it and replace all callers
with ata_sff_data_xfer32().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/driver-api/libata.rst
drivers/ata/libata-sff.c
drivers/ata/pata_cmd640.c
drivers/ata/pata_icside.c
drivers/ata/pata_imx.c
drivers/ata/pata_legacy.c
drivers/ata/pata_palmld.c
drivers/ata/pata_pcmcia.c
drivers/ata/pata_platform.c
drivers/ata/pata_via.c
include/linux/libata.h