diff --git a/drivers/usbhost/usbhost_hidmouse.c b/drivers/usbhost/usbhost_hidmouse.c index 6e6b545710..043adb3183 100644 --- a/drivers/usbhost/usbhost_hidmouse.c +++ b/drivers/usbhost/usbhost_hidmouse.c @@ -1159,7 +1159,7 @@ static int usbhost_mouse_poll(int argc, char *argv[]) if (buttons != priv->buttons || usbhost_threshold(priv)) #endif { - /* We get here when either there is a meaning button + /* We get here when either there is a meaningful button * change and/or a significant movement of the mouse. We * are going to report the mouse event. * diff --git a/graphics/nxmu/nxmu_mouse.c b/graphics/nxmu/nxmu_mouse.c index 18f6e03d9a..66a6cfb8d1 100644 --- a/graphics/nxmu/nxmu_mouse.c +++ b/graphics/nxmu/nxmu_mouse.c @@ -49,14 +49,6 @@ #ifdef CONFIG_NX_XYINPUT -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - /**************************************************************************** * Private Data ****************************************************************************/ @@ -66,14 +58,6 @@ static struct nxgl_point_s g_mrange; static uint8_t g_mbutton; static struct nxbe_window_s *g_mwnd; -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/wireless/ieee802154/mac802154_netdev.c b/wireless/ieee802154/mac802154_netdev.c index 84e58ed867..5ba554c5e2 100644 --- a/wireless/ieee802154/mac802154_netdev.c +++ b/wireless/ieee802154/mac802154_netdev.c @@ -443,12 +443,10 @@ static int macnet_notify(FAR struct mac802154_maccb_s *maccb, #endif } #endif - - nxsem_post(&priv->md_exclsem); - return OK; } nxsem_post(&priv->md_exclsem); + return OK; } /****************************************************************************