aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-01-19 10:46:32 +0900
committerJeff Garzik <jgarzik@redhat.com>2010-03-01 14:58:44 -0500
commitd88ec2e5c13261cf317b46832a7de216f6d06537 (patch)
treeda307bdad7bfa99c87857ac228896696170bb06f /include/linux/libata.h
parent88e8201e67aace3d86de9e75122ea525f0e7248e (diff)
downloadkernel_samsung_espresso10-d88ec2e5c13261cf317b46832a7de216f6d06537.zip
kernel_samsung_espresso10-d88ec2e5c13261cf317b46832a7de216f6d06537.tar.gz
kernel_samsung_espresso10-d88ec2e5c13261cf317b46832a7de216f6d06537.tar.bz2
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 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions