This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit f2191a7e3be02aa95832330e00d046d908e4ea42 Author: yangsong8 <[email protected]> AuthorDate: Tue Jun 24 14:41:03 2025 +0800 drivers/usbhost: fix build waring usbhost/usbhost_hidkbd.c:1373:14: warning: unused variable ‘flags’ [-Wunused-variable] 1373 | irqstate_t flags; | ^~~~~ Signed-off-by: yangsong8 <[email protected]> --- drivers/usbhost/usbhost_hidkbd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usbhost/usbhost_hidkbd.c b/drivers/usbhost/usbhost_hidkbd.c index 59a9863ab72..19bc74b6c06 100644 --- a/drivers/usbhost/usbhost_hidkbd.c +++ b/drivers/usbhost/usbhost_hidkbd.c @@ -1370,8 +1370,6 @@ static void usbhost_kbd_callback(FAR void *arg, ssize_t nbytes) static int usbhost_kbdpoll(int argc, FAR char *argv[]) { FAR struct usbhost_state_s *priv; - irqstate_t flags; - #if defined(CONFIG_DEBUG_USB) && defined(CONFIG_DEBUG_INFO) unsigned int npolls = 0; #endif
