diff --git a/arch/arm/src/stm32/stm32_allocateheap.c b/arch/arm/src/stm32/stm32_allocateheap.c index fcf53ea329a..9dbd2b594b8 100644 --- a/arch/arm/src/stm32/stm32_allocateheap.c +++ b/arch/arm/src/stm32/stm32_allocateheap.c @@ -498,10 +498,6 @@ # endif #endif -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/drivers/video/fb.c b/drivers/video/fb.c index dd7217759ea..183de51c0f9 100644 --- a/drivers/video/fb.c +++ b/drivers/video/fb.c @@ -415,7 +415,7 @@ static int fb_ioctl(FAR struct file *filep, int cmd, unsigned long arg) ret = fb->vtable->getplaneinfo(fb->vtable, fb->plane, &pinfo); if (ret >= 0) { - nx_notify_rectangle(((FAR NX_PLANEINFOTYPE *)&pinfo, rect); + nx_notify_rectangle((FAR NX_PLANEINFOTYPE *)&pinfo, rect); } } break;