mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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:
committed by
Gedare Bloom
parent
1339ef1b10
commit
bc959e983f
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user