bsps/shared/*: 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 14:18:59 -05:00
committed by Gedare Bloom
parent 1339ef1b10
commit bc959e983f
39 changed files with 234 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ static int xqspi_get_flash_type(
rtems_flashdev_flash_type *type
)
{
(void) flash;
*type = RTEMS_FLASHDEV_NOR;
return 0;
}
@@ -52,6 +54,8 @@ static int xqspi_read_wrapper(
void *buffer
)
{
(void) flash;
XQspiPsu *flash_driver = (XQspiPsu*)flash->driver;
return QspiPsu_NOR_Read(flash_driver, (uint32_t)offset, (uint32_t)count, buffer);
}