Commit fbcdd80b authored by Albert Lee's avatar Albert Lee Committed by Jeff Garzik
Browse files

[PATCH] libata irq-pio: eliminate unnecessary queuing in ata_pio_first_block()



   - change the return value of ata_pio_complete() 0 <-> 1
   - add return value for ata_pio_first_block()
   - rename variable "qc_completed" to "has_next" in ata_pio_task()
   - use has_next to eliminate unnecessary queuing in ata_pio_first_block()

Signed-off-by: default avatarAlbert Lee <albertcc@tw.ibm.com>

==========
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent e27486db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment