libata: cleanup ata_sff_interrupt()
authorTejun Heo <tj@kernel.org>
Tue, 19 Jan 2010 01:46:32 +0000 (10:46 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Mar 2010 19:58:44 +0000 (14:58 -0500)
commitd88ec2e5c13261cf317b46832a7de216f6d06537
treeda307bdad7bfa99c87857ac228896696170bb06f
parent88e8201e67aace3d86de9e75122ea525f0e7248e
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>
drivers/ata/libata-sff.c