mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
bsps/mips/csb350: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
0bc4def8ac
commit
ef2367aec6
@@ -59,6 +59,8 @@ void console_outbyte_polled(
|
||||
char ch
|
||||
)
|
||||
{
|
||||
(void) port;
|
||||
|
||||
/* wait for the fifo to make room */
|
||||
while ((uart0->linestat & 0x20) == 0) {
|
||||
continue;
|
||||
@@ -77,6 +79,8 @@ int console_inbyte_nonblocking(
|
||||
int port
|
||||
)
|
||||
{
|
||||
(void) port;
|
||||
|
||||
unsigned char c;
|
||||
|
||||
if (uart0->linestat & 1) {
|
||||
|
||||
@@ -108,6 +108,9 @@ static void call_vectored_isr(
|
||||
void *ctrlr
|
||||
)
|
||||
{
|
||||
(void) frame;
|
||||
(void) cause;
|
||||
|
||||
uint32_t src;
|
||||
uint32_t mask;
|
||||
int index;
|
||||
|
||||
Reference in New Issue
Block a user