From fe0b5df223983d0ab319b4cfc714cd75b408e55f Mon Sep 17 00:00:00 2001 From: Brennan Ashton Date: Sun, 19 Jul 2020 10:15:50 -0700 Subject: [PATCH] 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 --- boards/boardctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/boards/boardctl.c b/boards/boardctl.c index f57366557c3..6b949d7ce63 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;