[PATCH 12/16] ps3: remove cpuinfo

Geoff Levand geoffrey.levand at am.sony.com
Sat Jan 27 14:08:19 EST 2007


Remove the unneded routine ps3_show_cpuinfo().  The common platform code now
prints the same information.

Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>

---
 arch/powerpc/platforms/ps3/setup.c |    6 ------
 1 files changed, 6 deletions(-)

--- ps3-linux-dev.orig/arch/powerpc/platforms/ps3/setup.c
+++ ps3-linux-dev/arch/powerpc/platforms/ps3/setup.c
@@ -41,11 +41,6 @@
 #define DBG(fmt...) do{if(0)printk(fmt);}while(0)
 #endif
 
-static void ps3_show_cpuinfo(struct seq_file *m)
-{
-	seq_printf(m, "machine\t\t: %s\n", ppc_md.name);
-}
-
 static void ps3_power_save(void)
 {
 	/*
@@ -156,7 +151,6 @@ define_machine(ps3) {
 	.name				= "PS3",
 	.probe				= ps3_probe,
 	.setup_arch			= ps3_setup_arch,
-	.show_cpuinfo			= ps3_show_cpuinfo,
 	.init_IRQ			= ps3_init_IRQ,
 	.panic				= ps3_panic,
 	.get_boot_time			= ps3_get_boot_time,





More information about the Linuxppc-dev mailing list