From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] remove unused debug Kconfig options
Date: Sun, 23 Jun 2013 21:44:51 +0200 [thread overview]
Message-ID: <1372016693-30160-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1372016693-30160-1-git-send-email-s.hauer@pengutronix.de>
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>
---
commands/partition.c | 4 ----
common/Kconfig | 18 ------------------
drivers/net/smc91111.c | 4 ----
drivers/net/smc911x.c | 4 ----
4 files changed, 30 deletions(-)
diff --git a/commands/partition.c b/commands/partition.c
index fdd6041..6f8d634 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 4cfbe4e..d7e2ebd 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 48183dd..b868cbf 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 3b94779..e0d78d0 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>
--
1.8.3.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-06-23 19:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-23 19:44 [PATCH] debug patches Sascha Hauer
2013-06-23 19:44 ` Sascha Hauer [this message]
2013-06-23 19:44 ` [PATCH 2/3] ARM: i.MX: Make debug UART selectable from Kconfig Sascha Hauer
2013-06-23 19:44 ` [PATCH 3/3] startup: Add initcall tracing debug option Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372016693-30160-2-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox