Menglong Dong 7b490a8ab0 MIPS: OCTEON: fix unreachable code in octeon_irq_init_ciu
The type of 'r' in octeon_irq_init_ciu is 'unsigned int', so 'r < 0'
can't be true.

Fix this by change the type of 'r' and 'i' from 'unsigned int'
to 'int'. As 'i' won't be negative, this change works.

Fixes: 99fbc70f8547 ("MIPS: Octeon: irq: Alloc desc before configuring IRQ")
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-01-13 10:59:32 +01:00
..
2020-12-16 12:33:35 -08:00
2020-12-16 12:33:35 -08:00
2020-12-17 13:22:17 -08:00
2020-12-16 12:33:35 -08:00
2020-12-16 12:33:35 -08:00
2020-12-22 14:02:39 -08:00
2020-12-21 10:35:11 -08:00
2020-12-17 13:22:17 -08:00
2020-12-16 12:33:35 -08:00
2020-12-17 13:41:27 -08:00
2020-12-24 14:02:00 -08:00
2020-12-24 14:05:05 -08:00