Răsfoiți Sursa

MIPS: SB1250: Sort out merge mistake.

A wrong resolution of a merge conflict made the recently deleted wrong
error check in sb1250_set_affinity.  Send the zombie back to the empire
of the undead.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 16 ani în urmă
părinte
comite
7762f206a3
1 a modificat fișierele cu 0 adăugiri și 5 ștergeri
  1. 0 5
      arch/mips/sibyte/sb1250/irq.c

+ 0 - 5
arch/mips/sibyte/sb1250/irq.c

@@ -111,11 +111,6 @@ static int sb1250_set_affinity(unsigned int irq, const struct cpumask *mask)
 
 	i = cpumask_first(mask);
 
-	if (cpumask_weight(mask) > 1) {
-		printk("attempted to set irq affinity for irq %d to multiple CPUs\n", irq);
-		return -1;
-	}
-
 	/* Convert logical CPU to physical CPU */
 	cpu = cpu_logical_map(i);