Skip to content

Commit

Permalink
log: Remove some places where we redefine LOGLEVEL
Browse files Browse the repository at this point in the history
We cannot redefine a CONFIG value per file in this manner.

Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
trini committed Dec 23, 2022
1 parent dc2c451 commit d5c4b8b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions drivers/mtd/nand/raw/octeontx_bch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions drivers/mtd/nand/raw/octeontx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 0 additions & 3 deletions test/log/pr_cont_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d5c4b8b

Please sign in to comment.