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:
Xiang Xiao
2021-08-11 14:07:58 +08:00
committed by Alan Carvalho de Assis
parent f4addbd640
commit 177e1ced3f
3 changed files with 3 additions and 9 deletions
-4
View File
@@ -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