diff options
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
-rw-r--r-- | drivers/mtd/ubi/vtbl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index b37872cc5218..277f1546cb9e 100644 --- a/drivers/mtd/ubi/vtbl.c +++ b/drivers/mtd/ubi/vtbl.c | |||
@@ -62,11 +62,7 @@ | |||
62 | #include <asm/div64.h> | 62 | #include <asm/div64.h> |
63 | #include "ubi.h" | 63 | #include "ubi.h" |
64 | 64 | ||
65 | #ifdef CONFIG_MTD_UBI_DEBUG | ||
66 | static void paranoid_vtbl_check(const struct ubi_device *ubi); | 65 | static void paranoid_vtbl_check(const struct ubi_device *ubi); |
67 | #else | ||
68 | #define paranoid_vtbl_check(ubi) | ||
69 | #endif | ||
70 | 66 | ||
71 | /* Empty volume table record */ | 67 | /* Empty volume table record */ |
72 | static struct ubi_vtbl_record empty_vtbl_record; | 68 | static struct ubi_vtbl_record empty_vtbl_record; |
@@ -858,8 +854,6 @@ out_free: | |||
858 | return err; | 854 | return err; |
859 | } | 855 | } |
860 | 856 | ||
861 | #ifdef CONFIG_MTD_UBI_DEBUG | ||
862 | |||
863 | /** | 857 | /** |
864 | * paranoid_vtbl_check - check volume table. | 858 | * paranoid_vtbl_check - check volume table. |
865 | * @ubi: UBI device description object | 859 | * @ubi: UBI device description object |
@@ -874,5 +868,3 @@ static void paranoid_vtbl_check(const struct ubi_device *ubi) | |||
874 | BUG(); | 868 | BUG(); |
875 | } | 869 | } |
876 | } | 870 | } |
877 | |||
878 | #endif /* CONFIG_MTD_UBI_DEBUG */ | ||