From 2953880f5c1de5811b49f61400616a6587d75e6d Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 20 Aug 2020 03:54:06 -0700 Subject: [PATCH] fs_cromfs: Removed DEBUGASSERT on non-exiting var node --- fs/cromfs/fs_cromfs.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/cromfs/fs_cromfs.c b/fs/cromfs/fs_cromfs.c index 9fe70077d2..125c9a9613 100644 --- a/fs/cromfs/fs_cromfs.c +++ b/fs/cromfs/fs_cromfs.c @@ -755,8 +755,6 @@ static int cromfs_open(FAR struct file *filep, FAR const char *relpath, return ret; } - DEBUGASSERT(node != NULL); - /* Verify that the node is a regular file */ if (!S_ISREG(info.ci_mode)) @@ -1207,8 +1205,6 @@ static int cromfs_opendir(FAR struct inode *mountpt, FAR const char *relpath, return ret; } - DEBUGASSERT(node != NULL); - /* Verify that the node is a directory */ if (!S_ISDIR(info.ci_mode))