]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
MIPS: PowerTV: Removing dead CONFIG_DIAGNOSTICS
authorChristoph Egger <siccegge@cs.fau.de>
Wed, 9 Jun 2010 11:23:02 +0000 (13:23 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:01 +0000 (13:26 +0100)
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>
To: David VomLehn <dvomlehn@cisco.com>
To: Yoichi Yuasa <yuasa@linux-mips.org>
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Cc: vamos@i4.informatik.uni-erlangen.de
Patchwork: https://patchwork.linux-mips.org/patch/1374/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/powertv/powertv_setup.c

index af2cae0a5ab3ee44aa9810d31236be9462aadb90..3933c373a438c5e07fce901eb276c8f46c659194 100644 (file)
@@ -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;
 }