|
@@ -486,7 +486,6 @@ static int vol_cdev_ioctl(struct inode *inode, struct file *file,
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_MTD_UBI_DEBUG_USERSPACE_IO
|
|
|
|
/* Logical eraseblock erasure command */
|
|
/* Logical eraseblock erasure command */
|
|
case UBI_IOCEBER:
|
|
case UBI_IOCEBER:
|
|
{
|
|
{
|
|
@@ -559,7 +558,6 @@ static int vol_cdev_ioctl(struct inode *inode, struct file *file,
|
|
err = ubi_is_mapped(desc, lnum);
|
|
err = ubi_is_mapped(desc, lnum);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
|
|
|
|
default:
|
|
default:
|
|
err = -ENOTTY;
|
|
err = -ENOTTY;
|