forked from Imagelibrary/rtems
Fix C files which had two semi-colons at EOL
This commit is contained in:
@@ -531,7 +531,7 @@ void uart_exit(void)
|
||||
*/
|
||||
rtems_device_driver bfin_uart_open(rtems_device_major_number major,
|
||||
rtems_device_minor_number minor, void *arg) {
|
||||
rtems_status_code sc = RTEMS_NOT_DEFINED;;
|
||||
rtems_status_code sc = RTEMS_NOT_DEFINED;
|
||||
rtems_libio_open_close_args_t *args = NULL;
|
||||
|
||||
/**
|
||||
|
||||
@@ -248,7 +248,7 @@ spiPollRead (int minor)
|
||||
{
|
||||
|
||||
/* Wait for character */
|
||||
while ((port->LSR & LSR_RSR)==0);;
|
||||
while ((port->LSR & LSR_RSR)==0);
|
||||
|
||||
return port->RBR;
|
||||
}
|
||||
@@ -259,7 +259,7 @@ spiPollWrite(int minor, const char *buf, size_t len)
|
||||
{
|
||||
|
||||
while (len-- > 0) {
|
||||
while (!(port->LSR & LSR_THE));;
|
||||
while (!(port->LSR & LSR_THE));
|
||||
port->THR = *buf++;
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -212,7 +212,7 @@ tty0PollRead (int minor)
|
||||
{
|
||||
|
||||
/* Wait for character */
|
||||
while ((tty0port->LSR & LSR_RSR)==0);;
|
||||
while ((tty0port->LSR & LSR_RSR)==0);
|
||||
|
||||
return tty0port->RBR;
|
||||
}
|
||||
@@ -223,7 +223,7 @@ tty0PollWrite(int minor, const char *buf, size_t len)
|
||||
{
|
||||
|
||||
while (len-- > 0) {
|
||||
while (!(tty0port->LSR & LSR_THE));;
|
||||
while (!(tty0port->LSR & LSR_THE));
|
||||
tty0port->THR = *buf++;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user