[PATCH] libata irq-pio: simplify if condition in ata_dataout_task()
commit86a7397cda08a65bc4f306e812c846e2437b5347
authorAlbert Lee <albertcc@tw.ibm.com>
Fri, 30 Sep 2005 11:11:35 +0000 (30 19:11 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 30 Sep 2005 11:21:06 +0000 (30 07:21 -0400)
tree05b9153129a271737271066b6efc648a5639e1bc
parentf9997be974be40e884e9e8157ded2f2f9aed454c
[PATCH] libata irq-pio: simplify if condition in ata_dataout_task()

- Use if (qc->tf.protocol == ATA_PROT_PIO) instead of
if(is_atapi_taskfile()) in ata_dataout_task()

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c