bsps/m68k/uC5282/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
2025-11-24 17:35:33 -06:00
committed by Gedare Bloom
parent 0be36b694d
commit 8a200f79f7

View File

@@ -715,7 +715,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 )