x86/apic/irq_remap: Silence a bogus pr_err()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 16:26:33 +0000 (19:26 +0300)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Jun 2012 07:51:04 +0000 (09:51 +0200)
There is an extra semicolon here so the pr_err() message is
printed when it is not intended.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: Alexander Gordeev <agordeev@redhat.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/20120612162633.GA11077@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/iommu/intel_irq_remapping.c

index dafbad06390ae6d0d7d57d01f56b4af37bda4904..853902a1b7db4228867946b05b460ac952e37f0e 100644 (file)
@@ -938,7 +938,7 @@ intel_ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask,
 
        err = apic->cpu_mask_to_apicid_and(cfg->domain, mask, &dest);
        if (err) {
-               if (assign_irq_vector(irq, cfg, data->affinity));
+               if (assign_irq_vector(irq, cfg, data->affinity))
                        pr_err("Failed to recover vector for irq %d\n", irq);
                return err;
        }