From 46fec91b12ccb60c73e3643f8e3b16759ffb5539 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 1 Jul 2015 18:25:13 -0600 Subject: [PATCH] Remove a warning --- arch/arm/src/stm32/stm32_serial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/stm32/stm32_serial.c b/arch/arm/src/stm32/stm32_serial.c index 077bb71641..b0edc1be14 100644 --- a/arch/arm/src/stm32/stm32_serial.c +++ b/arch/arm/src/stm32/stm32_serial.c @@ -2761,6 +2761,7 @@ void up_serialinit(void) #ifdef CONFIG_PM ret = pm_register(&g_serialcb); DEBUGASSERT(ret == OK); + UNUSED(ret); #endif /* Register the console */