xiaoxiang781216 commented on code in PR #7994: URL: https://github.com/apache/nuttx/pull/7994#discussion_r1059073818
########## drivers/note/note_driver.c: ########## @@ -1868,26 +1868,21 @@ int note_get_taskname(pid_t pid, FAR char *buffer) { FAR struct note_taskname_info_s *ti; FAR struct tcb_s *tcb; - irqstate_t irq_mask; - irq_mask = enter_critical_section(); Review Comment: why remove the lock -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org