Sfoglia il codice sorgente

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 anni fa
parent
commit
0762346034
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  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