diff options
author | Nicholas Mc Guire <[email protected]> | 2018-06-16 09:26:32 +0200 |
---|---|---|
committer | Paul Burton <[email protected]> | 2018-06-24 09:27:27 -0700 |
commit | 7896de7bd727c9269b7571cfa8dcbc9b99dfb13c (patch) | |
tree | 6c3a4c5b5f7d58577b5c7f9cb4f456f80f7fa525 | |
parent | 803ad26eed4a5db07cc52e8dec387689cd007df4 (diff) |
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 <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/19559/
Signed-off-by: Paul Burton <[email protected]>
Cc: James Hogan <[email protected]>
Cc: David Daney <[email protected]>
Cc: "Steven J. Hill" <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: [email protected]
Cc: [email protected]
-rw-r--r-- | arch/mips/cavium-octeon/octeon-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c index b3aec101a65d..8272d8c648ca 100644 --- a/arch/mips/cavium-octeon/octeon-irq.c +++ b/arch/mips/cavium-octeon/octeon-irq.c @@ -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); |