These enum values are not used anywhere that's why remove them.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
MTD_FILE_MODE_RAW,
};
-/*
- * MTD locking states - return codes for ioctl(MEMISLOCKED)
- *
- * @MTD_IS_UNLOCKED: Specified region is completely unlocked
- * @MTD_IS_LOCKED: Specified region is completely locked
- * @MTD_IS_PARTIALLY_LOCKED: Specified region is partially locked
- */
-enum mtd_locking_states {
- MTD_IS_UNLOCKED,
- MTD_IS_LOCKED,
- MTD_IS_PARTIALLY_LOCKED,
-};
-
static inline int mtd_type_is_nand_user(const struct mtd_info_user *mtd)
{
return mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH;