cpukit/libblock/*: Address unused parameter warnings

Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-paramter.
This commit is contained in:
Joel Sherrill
2025-09-25 19:09:08 -05:00
committed by Gedare Bloom
parent 10c239a583
commit b505b66866
2 changed files with 6 additions and 0 deletions

View File

@@ -2949,6 +2949,8 @@ rtems_bdbuf_set_block_size (rtems_disk_device *dd,
static rtems_task
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)
{
(void) arg;
rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;
while (bdbuf_cache.read_ahead_enabled)

View File

@@ -217,6 +217,10 @@ static int null_handler(
void *argp
)
{
(void) dd;
(void) req;
(void) argp;
return -1;
}