]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] disable dead functions smp_read_mpc_oem() and
authorAndrew Morton <akpm@digeo.com>
Sun, 29 Dec 2002 09:14:19 +0000 (01:14 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 29 Dec 2002 09:14:19 +0000 (01:14 -0800)
These functions have no references.  Just ifdef them away for now; someone
may want them back.

arch/i386/kernel/mpparse.c
include/asm-i386/mach-numaq/mach_mpparse.h

index fb5baa1754cc8f2ca2382852340930c5d0c3517a..be74791bdbe7c3febdb8c393f20107b58c84855b 100644 (file)
@@ -269,6 +269,7 @@ static void __init MP_lintsrc_info (struct mpc_config_lintsrc *m)
                        BUG();
 }
 
+#if 0
 static void __init MP_translation_info (struct mpc_config_translation *m)
 {
        printk("Translation: record %d, type %d, quad %d, global %d, local %d\n", mpc_record, m->trans_type, m->trans_quad, m->trans_global, m->trans_local);
@@ -327,6 +328,7 @@ static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable, \
                }
        }
 }
+#endif
 
 /*
  * Read/parse the MPC
index ddda81a724a81a0a8a7f1f75b442a796de9550b7..f15b7b9ae1e8641f96903da487aabc412221635d 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef __ASM_MACH_MPPARSE_H
 #define __ASM_MACH_MPPARSE_H
 
-static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable,
-                       unsigned short oemsize);
-
 static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name, 
                                struct mpc_config_translation *translation)
 {