diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2007-10-26 09:42:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:14:55 -0500 |
commit | 7f3f4900619743f4e3af21e9228748c3d692a2c2 (patch) | |
tree | 71b1924fc4abeedd95fa0b97da8abbf5e631a61c /arch/mips/au1000 | |
parent | 417345d8f5bacc291138c99a292a8ca69947530e (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')
-rw-r--r-- | arch/mips/au1000/db1x00/init.c | 11 | ||||
-rw-r--r-- | arch/mips/au1000/mtx-1/init.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/pb1000/init.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/pb1100/init.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/pb1200/init.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/pb1500/init.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/pb1550/init.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/xxs1500/init.c | 2 |
8 files changed, 0 insertions, 25 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) | |||
57 | prom_argv = (char **) fw_arg1; | 57 | prom_argv = (char **) fw_arg1; |
58 | prom_envp = (char **) fw_arg2; | 58 | prom_envp = (char **) fw_arg2; |
59 | 59 | ||
60 | /* Set the platform # */ | ||
61 | #if defined(CONFIG_MIPS_DB1550) | ||
62 | mips_machtype = MACH_DB1550; | ||
63 | #elif defined(CONFIG_MIPS_DB1500) | ||
64 | mips_machtype = MACH_DB1500; | ||
65 | #elif defined(CONFIG_MIPS_DB1100) | ||
66 | mips_machtype = MACH_DB1100; | ||
67 | #else | ||
68 | mips_machtype = MACH_DB1000; | ||
69 | #endif | ||
70 | |||
71 | prom_init_cmdline(); | 60 | prom_init_cmdline(); |
72 | 61 | ||
73 | memsize_str = prom_getenv("memsize"); | 62 | memsize_str = prom_getenv("memsize"); |
diff --git a/arch/mips/au1000/mtx-1/init.c b/arch/mips/au1000/mtx-1/init.c index cdeae3212a2d..e700fd312a24 100644 --- a/arch/mips/au1000/mtx-1/init.c +++ b/arch/mips/au1000/mtx-1/init.c | |||
@@ -54,8 +54,6 @@ void __init prom_init(void) | |||
54 | prom_argv = (char **) fw_arg1; | 54 | prom_argv = (char **) fw_arg1; |
55 | prom_envp = (char **) fw_arg2; | 55 | prom_envp = (char **) fw_arg2; |
56 | 56 | ||
57 | mips_machtype = MACH_MTX1; /* set the platform # */ | ||
58 | |||
59 | prom_init_cmdline(); | 57 | prom_init_cmdline(); |
60 | 58 | ||
61 | memsize_str = prom_getenv("memsize"); | 59 | memsize_str = prom_getenv("memsize"); |
diff --git a/arch/mips/au1000/pb1000/init.c b/arch/mips/au1000/pb1000/init.c index ddccaf6997d0..2515b9fb24af 100644 --- a/arch/mips/au1000/pb1000/init.c +++ b/arch/mips/au1000/pb1000/init.c | |||
@@ -52,8 +52,6 @@ void __init prom_init(void) | |||
52 | prom_argv = (char **) fw_arg1; | 52 | prom_argv = (char **) fw_arg1; |
53 | prom_envp = (char **) fw_arg2; | 53 | prom_envp = (char **) fw_arg2; |
54 | 54 | ||
55 | mips_machtype = MACH_PB1000; | ||
56 | |||
57 | prom_init_cmdline(); | 55 | prom_init_cmdline(); |
58 | memsize_str = prom_getenv("memsize"); | 56 | memsize_str = prom_getenv("memsize"); |
59 | if (!memsize_str) { | 57 | if (!memsize_str) { |
diff --git a/arch/mips/au1000/pb1100/init.c b/arch/mips/au1000/pb1100/init.c index c93fd39b4aba..490c3801c275 100644 --- a/arch/mips/au1000/pb1100/init.c +++ b/arch/mips/au1000/pb1100/init.c | |||
@@ -53,8 +53,6 @@ void __init prom_init(void) | |||
53 | prom_argv = (char **) fw_arg1; | 53 | prom_argv = (char **) fw_arg1; |
54 | prom_envp = (char **) fw_arg3; | 54 | prom_envp = (char **) fw_arg3; |
55 | 55 | ||
56 | mips_machtype = MACH_PB1100; | ||
57 | |||
58 | prom_init_cmdline(); | 56 | prom_init_cmdline(); |
59 | 57 | ||
60 | memsize_str = prom_getenv("memsize"); | 58 | memsize_str = prom_getenv("memsize"); |
diff --git a/arch/mips/au1000/pb1200/init.c b/arch/mips/au1000/pb1200/init.c index c251570749ee..069ed45f04f2 100644 --- a/arch/mips/au1000/pb1200/init.c +++ b/arch/mips/au1000/pb1200/init.c | |||
@@ -53,8 +53,6 @@ void __init prom_init(void) | |||
53 | prom_argv = (char **) fw_arg1; | 53 | prom_argv = (char **) fw_arg1; |
54 | prom_envp = (char **) fw_arg2; | 54 | prom_envp = (char **) fw_arg2; |
55 | 55 | ||
56 | mips_machtype = MACH_PB1200; | ||
57 | |||
58 | prom_init_cmdline(); | 56 | prom_init_cmdline(); |
59 | memsize_str = prom_getenv("memsize"); | 57 | memsize_str = prom_getenv("memsize"); |
60 | if (!memsize_str) { | 58 | if (!memsize_str) { |
diff --git a/arch/mips/au1000/pb1500/init.c b/arch/mips/au1000/pb1500/init.c index 507d4b204161..db558c967048 100644 --- a/arch/mips/au1000/pb1500/init.c +++ b/arch/mips/au1000/pb1500/init.c | |||
@@ -53,8 +53,6 @@ void __init prom_init(void) | |||
53 | prom_argv = (char **) fw_arg1; | 53 | prom_argv = (char **) fw_arg1; |
54 | prom_envp = (char **) fw_arg2; | 54 | prom_envp = (char **) fw_arg2; |
55 | 55 | ||
56 | mips_machtype = MACH_PB1500; | ||
57 | |||
58 | prom_init_cmdline(); | 56 | prom_init_cmdline(); |
59 | memsize_str = prom_getenv("memsize"); | 57 | memsize_str = prom_getenv("memsize"); |
60 | if (!memsize_str) { | 58 | if (!memsize_str) { |
diff --git a/arch/mips/au1000/pb1550/init.c b/arch/mips/au1000/pb1550/init.c index b03eee601e36..b716363ea564 100644 --- a/arch/mips/au1000/pb1550/init.c +++ b/arch/mips/au1000/pb1550/init.c | |||
@@ -53,8 +53,6 @@ void __init prom_init(void) | |||
53 | prom_argv = (char **) fw_arg1; | 53 | prom_argv = (char **) fw_arg1; |
54 | prom_envp = (char **) fw_arg2; | 54 | prom_envp = (char **) fw_arg2; |
55 | 55 | ||
56 | mips_machtype = MACH_PB1550; | ||
57 | |||
58 | prom_init_cmdline(); | 56 | prom_init_cmdline(); |
59 | memsize_str = prom_getenv("memsize"); | 57 | memsize_str = prom_getenv("memsize"); |
60 | if (!memsize_str) { | 58 | if (!memsize_str) { |
diff --git a/arch/mips/au1000/xxs1500/init.c b/arch/mips/au1000/xxs1500/init.c index 6532939f377a..7e6878c1b0a5 100644 --- a/arch/mips/au1000/xxs1500/init.c +++ b/arch/mips/au1000/xxs1500/init.c | |||
@@ -52,8 +52,6 @@ void __init prom_init(void) | |||
52 | prom_argv = (char **) fw_arg1; | 52 | prom_argv = (char **) fw_arg1; |
53 | prom_envp = (char **) fw_arg2; | 53 | prom_envp = (char **) fw_arg2; |
54 | 54 | ||
55 | mips_machtype = MACH_XXS1500; /* set the platform # */ | ||
56 | |||
57 | prom_init_cmdline(); | 55 | prom_init_cmdline(); |
58 | 56 | ||
59 | memsize_str = prom_getenv("memsize"); | 57 | memsize_str = prom_getenv("memsize"); |