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.
This commit is contained in:
Joel Sherrill authored and Gedare Bloom committed 2025-12-11 23:53:16 +00:00
1 parent 0da06c2818
commit 16aa7efdc1
1 file changed
+1 -1
+1 -1
View File
@@ -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: