aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-16 11:09:08 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:26:00 -0400
commitaa44d1d35f3485e0acea0f22e41cb472d2c99858 (patch)
treeb066ebf877a3eba5cb154b4d78f8bad6c86c1cfd /drivers/mtd/ubi/debug.c
parent718c00bb8fb00c68977f1076619cdfb050f92ba5 (diff)
UBI: remove Kconfig debugging option
This patch kills the UBI debugging Kconfig option completely and makes all the debugging stuff to be always compiled-in. It was pain in the neck to maintain this useless option because all users I am aware of have debugging enabled anyway - how else will you diagnose errors otherwise? Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
-rw-r--r--drivers/mtd/ubi/debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c
index bb7297ebf1c1..c6becde40314 100644
--- a/drivers/mtd/ubi/debug.c
+++ b/drivers/mtd/ubi/debug.c
@@ -106,8 +106,6 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr)
106 vid_hdr, UBI_VID_HDR_SIZE, 1); 106 vid_hdr, UBI_VID_HDR_SIZE, 1);
107} 107}
108 108
109#ifdef CONFIG_MTD_UBI_DEBUG
110
111/** 109/**
112 * ubi_dump_vol_info - dump volume information. 110 * ubi_dump_vol_info - dump volume information.
113 * @vol: UBI volume description object 111 * @vol: UBI volume description object
@@ -474,5 +472,3 @@ void ubi_debugfs_exit_dev(struct ubi_device *ubi)
474{ 472{
475 debugfs_remove_recursive(ubi->dbg->dfs_dir); 473 debugfs_remove_recursive(ubi->dbg->dfs_dir);
476} 474}
477
478#endif /* CONFIG_MTD_UBI_DEBUG */