bsps/powerpc/gen83xx/irq/irq.c: Address type-limits warnings

These changes were made to address GCC -Wtype-limits warnings.
In this case, the irq was unsigned and there was no need to
check it being <= 0.
This commit is contained in:
Joel Sherrill
2025-11-24 17:39:55 -06:00
committed by Gedare Bloom
parent 53affed6e9
commit 005f209af6

View File

@@ -44,7 +44,8 @@
#define MPC83XX_IPIC_VECTOR_NUMBER 92
#define MPC83XX_IPIC_IS_VALID_VECTOR( vector) ((vector) >= 0 && (vector) < MPC83XX_IPIC_VECTOR_NUMBER)
#define MPC83XX_IPIC_IS_VALID_VECTOR( vector) \
((vector) < MPC83XX_IPIC_VECTOR_NUMBER)
#define MPC83XX_IPIC_INVALID_MASK_POSITION 255