linux-mips
[Top] [All Lists]

[PATCH 8/9] Removing dead CONFIG_DIAGNOSTICS

To: Ralf Baechle <ralf@linux-mips.org>, David VomLehn <dvomlehn@cisco.com>, Yoichi Yuasa <yuasa@linux-mips.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH 8/9] Removing dead CONFIG_DIAGNOSTICS
From: Christoph Egger <siccegge@cs.fau.de>
Date: Wed, 9 Jun 2010 13:23:02 +0200
Cc: vamos@i4.informatik.uni-erlangen.de
In-reply-to: <cover.1275925108.git.siccegge@cs.fau.de>
References: <cover.1275925108.git.siccegge@cs.fau.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-06-14)
CONFIG_DIAGNOSTICS doesn't exist in Kconfig, therefore removing all
references for it from the source code.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
---
 arch/mips/powertv/powertv_setup.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/mips/powertv/powertv_setup.c 
b/arch/mips/powertv/powertv_setup.c
index af2cae0..3933c37 100644
--- a/arch/mips/powertv/powertv_setup.c
+++ b/arch/mips/powertv/powertv_setup.c
@@ -199,14 +199,8 @@ static int panic_handler(struct notifier_block 
*notifier_block,
                my_regs.cp0_status = read_c0_status();
        }
 
-#ifdef CONFIG_DIAGNOSTICS
-       failure_report((char *) cause_string,
-               have_die_regs ? &die_regs : &my_regs);
-       have_die_regs = false;
-#else
        pr_crit("I'm feeling a bit sleepy. hmmmmm... perhaps a nap would... "
                "zzzz... \n");
-#endif
 
        return NOTIFY_DONE;
 }
-- 
1.6.3.3


<Prev in Thread] Current Thread [Next in Thread>