xiaoxiang781216 commented on code in PR #6409: URL: https://github.com/apache/incubator-nuttx/pull/6409#discussion_r894775078
########## fs/procfs/fs_procfsmeminfo.c: ########## @@ -582,4 +582,28 @@ void procfs_register_meminfo(FAR struct procfs_meminfo_entry_s *entry) g_procfs_meminfo = entry; } +/**************************************************************************** + * Name: procfs_unregister_meminfo + * + * Description: + * Remove a meminfo entry from the procfs file system. + * + * Input Parameters: + * entry - Describes the entry to be unregistered. + * + ****************************************************************************/ + +void procfs_unregister_meminfo(FAR struct procfs_meminfo_entry_s *entry) +{ + FAR struct procfs_meminfo_entry_s **cur; + + for (cur = &g_procfs_meminfo; *cur != NULL; cur = &cur->next) Review Comment: Done. -- 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