Преглед изворни кода

m68knommu: remove command line printing DEBUG

There is no need for the DEBUG based command line printing in here.
The kernel will print out the command line in the banner later in
the boot up. So remove it.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Greg Ungerer пре 15 година
родитељ
комит
0762346034
1 измењених фајлова са 0 додато и 5 уклоњено
  1. 0 5
      arch/m68knommu/kernel/setup.c

+ 0 - 5
arch/m68knommu/kernel/setup.c

@@ -231,11 +231,6 @@ void __init setup_arch(char **cmdline_p)
 	memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE);
 	boot_command_line[COMMAND_LINE_SIZE-1] = 0;
 
-#ifdef DEBUG
-	if (strlen(*cmdline_p))
-		printk(KERN_DEBUG "Command line: '%s'\n", *cmdline_p);
-#endif
-
 #if defined(CONFIG_FRAMEBUFFER_CONSOLE) && defined(CONFIG_DUMMY_CONSOLE)
 	conswitchp = &dummy_con;
 #endif