diff --git a/fs/inode/fs_files.c b/fs/inode/fs_files.c index 352d5eec82..afe6766c62 100644 --- a/fs/inode/fs_files.c +++ b/fs/inode/fs_files.c @@ -512,16 +512,13 @@ void files_putlist(FAR struct filelist *list) * Name: files_countlist * * Description: - * Given a file descriptor, return the corresponding instance of struct - * file. + * Get file count from file list. * * Input Parameters: - * fd - The file descriptor - * filep - The location to return the struct file instance + * list - Pointer to the file list structure. * * Returned Value: - * Zero (OK) is returned on success; a negated errno value is returned on - * any failure. + * file count of file list. * ****************************************************************************/