UBIFS: remove Kconfig debugging option
Have the debugging stuff always compiled-in instead. It simplifies maintanance a lot. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
@@ -29,11 +29,7 @@
|
||||
|
||||
#include "ubifs.h"
|
||||
|
||||
#ifdef CONFIG_UBIFS_FS_DEBUG
|
||||
static int dbg_check_bud_bytes(struct ubifs_info *c);
|
||||
#else
|
||||
#define dbg_check_bud_bytes(c) 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* ubifs_search_bud - search bud LEB.
|
||||
@@ -734,8 +730,6 @@ out_free:
|
||||
return err;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_UBIFS_FS_DEBUG
|
||||
|
||||
/**
|
||||
* dbg_check_bud_bytes - make sure bud bytes calculation are all right.
|
||||
* @c: UBIFS file-system description object
|
||||
@@ -767,5 +761,3 @@ static int dbg_check_bud_bytes(struct ubifs_info *c)
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_UBIFS_FS_DEBUG */
|
||||
|
Reference in New Issue
Block a user