diff options
author | Tejun Heo <tj@kernel.org> | 2010-01-19 02:46:32 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-03-01 20:58:44 +0100 |
commit | d88ec2e5c13261cf317b46832a7de216f6d06537 (patch) | |
tree | da307bdad7bfa99c87857ac228896696170bb06f /drivers/ata/ata_piix.c | |
parent | ata_piix: IDE Mode SATA patch for Intel Cougar Point DeviceIDs (diff) | |
download | linux-d88ec2e5c13261cf317b46832a7de216f6d06537.tar.xz linux-d88ec2e5c13261cf317b46832a7de216f6d06537.zip |
libata: cleanup ata_sff_interrupt()
host->ports[i] is never NULL if i < host->n_ports and non-NULL return
from ata_qc_from_tag() guarantees that the returned qc is active.
Drop unnecessary tests.
Superflous () dropped as suggested by Sergei.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ata_piix.c')
0 files changed, 0 insertions, 0 deletions