On 01/14/2010 02:50 AM, 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. Signed-off-by: Tejun Heo<tj@xxxxxxxxxx> --- drivers/ata/libata-sff.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
This is more #upstream material, don't you think? We are pretty deep into -rc at this point.
(headed out for the weekend, fyi) Jeff -- 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