diff --git a/fs/tmpfs/fs_tmpfs.c b/fs/tmpfs/fs_tmpfs.c index 2d28fa293dc..54ac92fa874 100644 --- a/fs/tmpfs/fs_tmpfs.c +++ b/fs/tmpfs/fs_tmpfs.c @@ -1961,8 +1961,7 @@ static int tmpfs_unbind(FAR void *handle, FAR struct inode **blkdriver, fvdbg("handle: %p blkdriver: %p flags: %02x\n", handle, blkdriver, flags); - DEBUGASSERT(blkdriver == NULL && handle != NULL); - DEBUGASSERT(fs == NULL && fs->tfs_root != NULL); + DEBUGASSERT(fs != NULL && fs->tfs_root != NULL); /* Lock the file system */