lib/os/printk.c: use ARG_UNUSED() for char_out()

Use ARG_UNUSED() within the function char_out()
to handel unused param.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
This commit is contained in:
Florian La Roche 2024-03-01 12:33:12 +01:00 committed by Henrik Brix Andersen
parent ad58b39f41
commit 0d5a670f4f

View file

@ -107,7 +107,7 @@ static int buf_char_out(int c, void *ctx_p)
static int char_out(int c, void *ctx_p)
{
(void) ctx_p;
ARG_UNUSED(ctx_p);
return _char_out(c);
}