summaryrefslogtreecommitdiff
path: root/nuttx/drivers/usbhost/usbhost_hidmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/usbhost/usbhost_hidmouse.c')
-rw-r--r--nuttx/drivers/usbhost/usbhost_hidmouse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_hidmouse.c b/nuttx/drivers/usbhost/usbhost_hidmouse.c
index 5fdf181fa..d79d94fd0 100644
--- a/nuttx/drivers/usbhost/usbhost_hidmouse.c
+++ b/nuttx/drivers/usbhost/usbhost_hidmouse.c
@@ -1649,14 +1649,9 @@ static inline int usbhost_devinit(FAR struct usbhost_state_s *priv)
usbhost_takesem(&g_exclsem);
g_priv = priv;
-#ifndef CONFIG_CUSTOM_STACK
priv->pollpid = task_create("mouse", CONFIG_HIDMOUSE_DEFPRIO,
CONFIG_HIDMOUSE_STACKSIZE,
(main_t)usbhost_mouse_poll, (FAR char * const *)NULL);
-#else
- priv->pollpid = task_create("mouse", CONFIG_HIDMOUSE_DEFPRIO,
- (main_t)usbhost_mouse_poll, (FAR char * const *)NULL);
-#endif
if (priv->pollpid == ERROR)
{
/* Failed to started the poll thread... probably due to memory resources */