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:
Joel Sherrill
2025-10-10 13:54:50 -05:00
committed by Gedare Bloom
parent 0bc4def8ac
commit ef2367aec6
2 changed files with 7 additions and 0 deletions

View File

@@ -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) {

View File

@@ -108,6 +108,9 @@ static void call_vectored_isr(
void *ctrlr
)
{
(void) frame;
(void) cause;
uint32_t src;
uint32_t mask;
int index;