From: Anton Blanchard Date: Sat, 10 Apr 2010 18:03:21 +0000 (+0000) Subject: Remove some DEBUG code. X-Git-Tag: yaboot-1.3.17-rc1~23 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=81d00c88d7a046b86d0f4298686e7627dc8d135e;hp=66deae4bd650ffc2e6aaa54f7b40698daa8252a4 Remove some DEBUG code. The test_bss and test_data debug printfs are of little use, so remove them. Signed-off-by: Anton Blanchard Signed-off-by: Tony Breeds --- diff --git a/second/yaboot.c b/second/yaboot.c index ec8a998..9075db1 100644 --- a/second/yaboot.c +++ b/second/yaboot.c @@ -154,10 +154,6 @@ int fgcolor = 15; int bgcolor = 0; #endif /* CONFIG_COLOR_TEXT */ -#if DEBUG -static int test_bss; -static int test_data = 0; -#endif static int pause_after; static char *pause_message = "Type go to continue.\n"; static char given_bootargs[1024]; @@ -204,10 +200,6 @@ yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5) /* A few useless DEBUG_F's */ DEBUG_F("reloc_offset : %ld (should be 0)\n", reloc_offset()); - DEBUG_F("test_bss : %d (should be 0)\n", test_bss); - DEBUG_F("test_data : %d (should be 0)\n", test_data); - DEBUG_F("&test_data : %p\n", &test_data); - DEBUG_F("&test_bss : %p\n", &test_bss); DEBUG_F("linked at : 0x%08x\n", TEXTADDR); /* ask the OF info if we're a chrp or pmac */