aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/vtbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
-rw-r--r--drivers/mtd/ubi/vtbl.c8
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
66static void paranoid_vtbl_check(const struct ubi_device *ubi); 65static 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 */
72static struct ubi_vtbl_record empty_vtbl_record; 68static 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 */