[PATCH 3/4] arch/frv: Removing dead NO_KERNEL_MSG config option

From: Christian Dietrich
Date: Tue Aug 10 2010 - 05:11:35 EST


CONFIG_NO_KERNEL_MSG doesn't exist in Kconfig, therefore removing
all references to it from the source.

Signed-off-by: Christian Dietrich <qy03fugy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
arch/frv/include/asm/bug.h | 4 ----
arch/frv/kernel/debug-stub.c | 2 --
2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/frv/include/asm/bug.h b/arch/frv/include/asm/bug.h
index 2e05450..ea6e986 100644
--- a/arch/frv/include/asm/bug.h
+++ b/arch/frv/include/asm/bug.h
@@ -19,12 +19,8 @@
*/
extern asmlinkage void __debug_bug_trap(int signr);

-#ifdef CONFIG_NO_KERNEL_MSG
-#define _debug_bug_printk()
-#else
extern void __debug_bug_printk(const char *file, unsigned line);
#define _debug_bug_printk() __debug_bug_printk(__FILE__, __LINE__)
-#endif

#define _debug_bug_trap(signr) \
do { \
diff --git a/arch/frv/kernel/debug-stub.c b/arch/frv/kernel/debug-stub.c
index 2845139..8752253 100644
--- a/arch/frv/kernel/debug-stub.c
+++ b/arch/frv/kernel/debug-stub.c
@@ -250,10 +250,8 @@ int __init console_get_baud(void)
/*
* display BUG() info
*/
-#ifndef CONFIG_NO_KERNEL_MSG
void __debug_bug_printk(const char *file, unsigned line)
{
printk("kernel BUG at %s:%d!\n", file, line);

} /* end __debug_bug_printk() */
-#endif
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/