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))