diff --git a/bsps/m68k/uC5282/console/console.c b/bsps/m68k/uC5282/console/console.c index 08bf5f1871..3ab26fd42a 100644 --- a/bsps/m68k/uC5282/console/console.c +++ b/bsps/m68k/uC5282/console/console.c @@ -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 )