Skip to content
Commit 7282aa4b authored by Albert Lee's avatar Albert Lee Committed by Jeff Garzik
Browse files

[libata irq-pio] reorganize ata_pio_sector() and __atapi_pio_bytes()



   - move some code out of the kmap_atomic() / kunmap_atomic() zone
   - remove the redundant "do_write = (qc->tf.flags & ATA_TFLAG_WRITE);"

Signed-off-by: default avatarAlbert Lee <albertcc@tw.ibm.com>
parent f58f8be7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment