You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/07/19 18:49:30 UTC
[incubator-nuttx] 05/07: boardctl: Remove warning pragma on
BOARDIOC_USBDEV_CONNECT
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit fe0b5df223983d0ab319b4cfc714cd75b408e55f
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Sun Jul 19 10:15:50 2020 -0700
boardctl: Remove warning pragma on BOARDIOC_USBDEV_CONNECT
We already have a debug assert and a return error this warning
will fail builds that are not even using this ioctl.
Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
boards/boardctl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/boards/boardctl.c b/boards/boardctl.c
index f573665..6b949d7 100644
--- a/boards/boardctl.c
+++ b/boards/boardctl.c
@@ -152,7 +152,6 @@ static inline int
case BOARDIOC_USBDEV_CONNECT: /* Connect the USB MSC device */
{
DEBUGASSERT(ctrl->handle != NULL);
-#warning Missing logic
ret = -ENOSYS;
}
break;