summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorJeff Garzik2007-11-24 03:12:14 +0100
committerJeff Garzik2008-01-23 11:24:10 +0100
commit11b7becca9425aab50807503c8102b2db9e5ecf0 (patch)
treeb010e9c2e6dac4060d6f285d2a16c07aa5d46b44 /drivers/ata/libata-core.c
parentahci: update PCS programming (diff)
downloadkernel-qcow2-linux-11b7becca9425aab50807503c8102b2db9e5ecf0.tar.gz
kernel-qcow2-linux-11b7becca9425aab50807503c8102b2db9e5ecf0.tar.xz
kernel-qcow2-linux-11b7becca9425aab50807503c8102b2db9e5ecf0.zip
libata: checkpatch fixes
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 3dd0e942df36..bb9e025522ba 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4374,11 +4374,11 @@ static unsigned int ata_dev_set_xfermode(struct ata_device *dev)
tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE | ATA_TFLAG_POLLING;
tf.protocol = ATA_PROT_NODATA;
/* If we are using IORDY we must send the mode setting command */
- if (ata_pio_need_iordy(dev))
- tf.nsect = dev->xfer_mode;
+ if (ata_pio_need_iordy(dev))
+ tf.nsect = dev->xfer_mode;
/* If the device has IORDY and the controller does not - turn it off */
else if (ata_id_has_iordy(dev->id))
- tf.nsect = 0x01;
+ tf.nsect = 0x01;
else /* In the ancient relic department - skip all of this */
return 0;