MIPS: Octeon: assign bool true/false not 1/0
Booleans should be assigned true/false not 1/0 as comparison is not needed Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Patchwork: https://patchwork.linux-mips.org/patch/19559/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: David Daney <david.daney@cavium.com> Cc: "Steven J. Hill" <Steven.Hill@cavium.com> Cc: Joe Perches <joe@perches.com> Cc: Colin Ian King <colin.king@canonical.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org
This commit is contained in:
parent
803ad26eed
commit
7896de7bd7
|
@ -814,7 +814,7 @@ static int octeon_irq_ciu_set_affinity(struct irq_data *data,
|
|||
pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu);
|
||||
|
||||
if (cpumask_test_cpu(cpu, dest) && enable_one) {
|
||||
enable_one = 0;
|
||||
enable_one = false;
|
||||
__set_bit(cd->bit, pen);
|
||||
} else {
|
||||
__clear_bit(cd->bit, pen);
|
||||
|
|
Loading…
Reference in New Issue