mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
Revert "mtd: Add MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE"
to simplify flt and partion layer implementation
This reverts commit 2e49e1bc5c.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
f4addbd640
commit
177e1ced3f
@@ -535,10 +535,6 @@ static int ftl_ioctl(FAR struct inode *inode, int cmd, unsigned long arg)
|
||||
#ifdef CONFIG_FTL_WRITEBUFFER
|
||||
rwb_flush(&dev->rwb);
|
||||
#endif
|
||||
|
||||
/* Change the BIOC_FLUSH command to the MTDIOC_FLUSH command. */
|
||||
|
||||
cmd = MTDIOC_FLUSH;
|
||||
}
|
||||
|
||||
/* No other block driver ioctl commands are not recognized by this
|
||||
|
||||
Reference in New Issue
Block a user