diff options
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r-- | drivers/mtd/ubi/cdev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index 98cf7a4ceea8..c183be99c6ca 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c | |||
@@ -486,7 +486,6 @@ static int vol_cdev_ioctl(struct inode *inode, struct file *file, | |||
486 | break; | 486 | break; |
487 | } | 487 | } |
488 | 488 | ||
489 | #ifdef CONFIG_MTD_UBI_DEBUG_USERSPACE_IO | ||
490 | /* Logical eraseblock erasure command */ | 489 | /* Logical eraseblock erasure command */ |
491 | case UBI_IOCEBER: | 490 | case UBI_IOCEBER: |
492 | { | 491 | { |
@@ -559,7 +558,6 @@ static int vol_cdev_ioctl(struct inode *inode, struct file *file, | |||
559 | err = ubi_is_mapped(desc, lnum); | 558 | err = ubi_is_mapped(desc, lnum); |
560 | break; | 559 | break; |
561 | } | 560 | } |
562 | #endif | ||
563 | 561 | ||
564 | default: | 562 | default: |
565 | err = -ENOTTY; | 563 | err = -ENOTTY; |