On 01/18/2010 08:46 PM, Tejun Heo wrote:
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@xxxxxxxxxx> Cc: Sergei Shtylyov<sshtylyov@xxxxxxxxxxxxx> --- drivers/ata/libata-sff.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
applied -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html