Skip to content

Commit

Permalink
MIPS: PowerTV: Removing dead CONFIG_DIAGNOSTICS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Egger authored and Ralf Baechle committed Aug 5, 2010
1 parent 8b284db commit bc7cb37
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/mips/powertv/powertv_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bc7cb37

Please sign in to comment.