From: Nicholas Mc Guire Date: Sat, 16 Jun 2018 07:26:32 +0000 (+0200) Subject: MIPS: Octeon: assign bool true/false not 1/0 X-Git-Tag: v5.15~8132^2~101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7896de7bd727c9269b7571cfa8dcbc9b99dfb13c;p=platform%2Fkernel%2Flinux-starfive.git 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 Patchwork: https://patchwork.linux-mips.org/patch/19559/ Signed-off-by: Paul Burton Cc: James Hogan Cc: David Daney Cc: "Steven J. Hill" Cc: Joe Perches Cc: Colin Ian King Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org --- diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c index b3aec10..8272d8c 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);