From 16aa7efdc1a07ea0be116263174f20ab8bee2d62 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 24 Nov 2025 17:33:48 -0600 Subject: [PATCH] bsps/m68k/av5282/console/console.c: Address type-limits warnings These changes were made to address GCC -Wtype-limits warnings. In this case, the type was unsigned and there was no need to compare it being >= 0. --- bsps/m68k/av5282/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/m68k/av5282/console/console.c b/bsps/m68k/av5282/console/console.c index 7a72c24174..f617a9b4d9 100644 --- a/bsps/m68k/av5282/console/console.c +++ b/bsps/m68k/av5282/console/console.c @@ -672,7 +672,7 @@ rtems_device_driver console_open( }; /* open the port depending on the minor device number */ - if ( ( minor >= 0 ) && ( minor < MAX_UART_INFO ) ) { + if ( minor < MAX_UART_INFO ) { info = &IntUartInfo[minor]; switch ( info->iomode ) { case TERMIOS_POLLED: