summaryrefslogtreecommitdiff
path: root/arch/mips/au1000/db1x00/init.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-10-26 22:42:31 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 10:14:55 +0000
commit7f3f4900619743f4e3af21e9228748c3d692a2c2 (patch)
tree71b1924fc4abeedd95fa0b97da8abbf5e631a61c /arch/mips/au1000/db1x00/init.c
parent417345d8f5bacc291138c99a292a8ca69947530e (diff)
[MIPS] remove unused mips_machtype
Removed unused mips_machtype. These are only set but not used. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000/db1x00/init.c')
-rw-r--r--arch/mips/au1000/db1x00/init.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/au1000/db1x00/init.c b/arch/mips/au1000/db1x00/init.c
index 43298fd9459c..e822c123eab8 100644
--- a/arch/mips/au1000/db1x00/init.c
+++ b/arch/mips/au1000/db1x00/init.c
@@ -57,17 +57,6 @@ void __init prom_init(void)
prom_argv = (char **) fw_arg1;
prom_envp = (char **) fw_arg2;
- /* Set the platform # */
-#if defined(CONFIG_MIPS_DB1550)
- mips_machtype = MACH_DB1550;
-#elif defined(CONFIG_MIPS_DB1500)
- mips_machtype = MACH_DB1500;
-#elif defined(CONFIG_MIPS_DB1100)
- mips_machtype = MACH_DB1100;
-#else
- mips_machtype = MACH_DB1000;
-#endif
-
prom_init_cmdline();
memsize_str = prom_getenv("memsize");