arm/imxrt: 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 22:01:39 +00:00
committed by Gedare Bloom
parent 172c853ba9
commit 1600191ebd
3 changed files with 11 additions and 0 deletions
+8
View File
@@ -276,6 +276,8 @@ static bool imxrt_lpuart_first_open(
rtems_libio_open_close_args_t *args
)
{
(void) args;
#ifdef BSP_CONSOLE_USE_INTERRUPTS
rtems_status_code sc;
#endif
@@ -312,6 +314,8 @@ static void imxrt_lpuart_last_close(
rtems_libio_open_close_args_t *args
)
{
(void) args;
imxrt_lpuart_context *ctx = imxrt_lpuart_get_context(base);
LPUART_Deinit((LPUART_Type *)ctx->regs);
@@ -446,6 +450,10 @@ rtems_status_code console_initialize(
void *arg
)
{
(void) major;
(void) minor;
(void) arg;
const void *fdt;
int stdout_node;
int node;
+2
View File
@@ -272,6 +272,8 @@ static void imxrt_lpspi_next_rx_msg(
volatile LPSPI_Type *regs
)
{
(void) regs;
if (bus->rx_msg_todo > 0) {
const spi_ioc_transfer *msg;
+1
View File
@@ -134,6 +134,7 @@ rtems_vector_number imx_get_irq_of_node(
uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells)
{
(void) icells;
return intr[0];
}