Skip to contentSkip to conversation

Remove useless printks in numa.c

PATCH New Andi Kleen 1 participant 1 message Nov 24, 2004 ACPI

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Remove useless printks in numa.c

Remove some unnecessary printks in drivers/acpi/numa.c

They trigger all the time on x86-64 with the new SRAT support, but as far as I can see they have no useful purpose.

drivers/acpi/numa.c +0 -7
Index: linux/drivers/acpi/numa.c
===================================================================
@@ -184,17 +184,10 @@
 		result = acpi_table_parse_srat(ACPI_SRAT_MEMORY_AFFINITY,
 					       acpi_parse_memory_affinity,
 					       NR_NODE_MEMBLKS);	// IA64 specific
-	} else {
-		/* FIXME */
-		printk("Warning: acpi_table_parse(ACPI_SRAT) returned %d!\n",result);
 	}
 
 	/* SLIT: System Locality Information Table */
 	result = acpi_table_parse(ACPI_SLIT, acpi_parse_slit);
-	if (result < 1) {
-		/* FIXME */
-		printk("Warning: acpi_table_parse(ACPI_SLIT) returned %d!\n",result);
-	}
 
 	acpi_numa_arch_fixup();
 	return 0;

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/