diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-23 09:29:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-23 21:37:12 +0200 |
commit | 2e6bbb40651af7d197246457a3790e613af3a1c0 (patch) | |
tree | d5a5674b22e555aee294c940f31e1011a1d23499 | |
parent | d10f26a5ffc2ef636feff57a01fc89b002fc6c22 (diff) | |
download | barebox-2e6bbb40651af7d197246457a3790e613af3a1c0.tar.gz barebox-2e6bbb40651af7d197246457a3790e613af3a1c0.tar.xz |
remove unused debug Kconfig options
ENABLE_DEVICE_NOISE is used only in two network drivers and is
otherwise unused. ENABLE_FLASH_NOISE is completely unused.
ENABLE_PARTITION_NOISE enables DEBUG in the partition command,
but this code has no debug messages at all.
Remove all this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/partition.c | 4 | ||||
-rw-r--r-- | common/Kconfig | 18 | ||||
-rw-r--r-- | drivers/net/smc91111.c | 4 | ||||
-rw-r--r-- | drivers/net/smc911x.c | 4 |
4 files changed, 0 insertions, 30 deletions
diff --git a/commands/partition.c b/commands/partition.c index fdd6041227..6f8d6343c8 100644 --- a/commands/partition.c +++ b/commands/partition.c @@ -23,10 +23,6 @@ * @brief partition handling and addpart and delpart command */ -#ifdef CONFIG_ENABLE_PARTITION_NOISE -# define DEBUG -#endif - #include <common.h> #include <command.h> #include <complete.h> diff --git a/common/Kconfig b/common/Kconfig index 4cfbe4ecfb..d7e2ebd346 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -609,24 +609,6 @@ config DEBUG_INFO help Enable build of barebox with -g. -config ENABLE_FLASH_NOISE - bool - prompt "verbose flash handling" - help - Enable this to get noisy flash handling routines - -config ENABLE_PARTITION_NOISE - bool - prompt "verbose partition handling" - help - Enable this to get noisy partition handling routines - -config ENABLE_DEVICE_NOISE - bool - prompt "verbose device handling" - help - Enable this to get noisy device handling routines - config DEBUG_LL bool depends on HAS_DEBUG_LL diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c index 48183dd4fa..b868cbf194 100644 --- a/drivers/net/smc91111.c +++ b/drivers/net/smc91111.c @@ -55,10 +55,6 @@ . 03/16/01 Daris A Nevil Modified smc9194.c for use with LAN91C111 ----------------------------------------------------------------------------*/ -#ifdef CONFIG_ENABLE_DEVICE_NOISE -# define DEBUG -#endif - #include <common.h> #include <command.h> diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 3b94779cd9..e0d78d06e5 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -18,10 +18,6 @@ * */ -#ifdef CONFIG_ENABLE_DEVICE_NOISE -# define DEBUG -#endif - #include <common.h> #include <command.h> |