mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
FS: Remove DEBUGASSERT() in block_proxy() because the flags are cleared later.
This commit is contained in:
@@ -167,7 +167,6 @@ int block_proxy(FAR const char *blkdev, int oflags)
|
||||
int fd;
|
||||
|
||||
DEBUGASSERT(blkdev);
|
||||
DEBUGASSERT((oflags & (O_CREAT | O_EXCL | O_APPEND | O_TRUNC)) == 0);
|
||||
|
||||
/* Create a unique temporary file name for the character device */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user