diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-04 10:03:33 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 10:07:03 -0500 |
commit | d5c4b8b0631a1da03e67fdeb1b5bf4a637a33c20 (patch) | |
tree | d4c8f3bf258045da26f1efa6792b60be431e29b0 | |
parent | dc2c451a94e11e0b5ac006fd603b746632734d5c (diff) |
log: Remove some places where we redefine LOGLEVEL
We cannot redefine a CONFIG value per file in this manner.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/mtd/nand/raw/octeontx_bch.c | 5 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/octeontx_nand.c | 5 | ||||
-rw-r--r-- | test/log/pr_cont_test.c | 3 |
3 files changed, 0 insertions, 13 deletions
diff --git a/drivers/mtd/nand/raw/octeontx_bch.c b/drivers/mtd/nand/raw/octeontx_bch.c index c1d721cabfc..fc16b77416b 100644 --- a/drivers/mtd/nand/raw/octeontx_bch.c +++ b/drivers/mtd/nand/raw/octeontx_bch.c @@ -27,11 +27,6 @@ #include <asm/arch/clock.h> #include "octeontx_bch.h" -#ifdef DEBUG -# undef CONFIG_LOGLEVEL -# define CONFIG_LOGLEVEL 8 -#endif - LIST_HEAD(octeontx_bch_devices); static unsigned int num_vfs = BCH_NR_VF; static void *bch_pf; diff --git a/drivers/mtd/nand/raw/octeontx_nand.c b/drivers/mtd/nand/raw/octeontx_nand.c index b338b204f34..1ffadad9cae 100644 --- a/drivers/mtd/nand/raw/octeontx_nand.c +++ b/drivers/mtd/nand/raw/octeontx_nand.c @@ -31,11 +31,6 @@ #include <asm/arch/clock.h> #include "octeontx_bch.h" -#ifdef DEBUG -# undef CONFIG_LOGLEVEL -# define CONFIG_LOGLEVEL 8 -#endif - /* * The NDF_CMD queue takes commands between 16 - 128 bit. * All commands must be 16 bit aligned and are little endian. diff --git a/test/log/pr_cont_test.c b/test/log/pr_cont_test.c index 6abddf7a119..df4520d2807 100644 --- a/test/log/pr_cont_test.c +++ b/test/log/pr_cont_test.c @@ -16,9 +16,6 @@ #define BUFFSIZE 64 -#undef CONFIG_LOGLEVEL -#define CONFIG_LOGLEVEL 4 - DECLARE_GLOBAL_DATA_PTR; static int log_test_pr_cont(struct unit_test_state *uts) |