[amazon] Add kernel 2.6.30 support
[openwrt-10.03/.git] / target / linux / amazon / patches-2.6.30 / 210-remove_unnedded_variables.patch
1 --- a/arch/mips/amazon/prom.c
2 +++ b/arch/mips/amazon/prom.c
3 @@ -59,9 +59,6 @@ void prom_printf(const char * fmt, ...)
4  
5  void __init prom_init(void)
6  {
7 -       mips_machgroup = MACH_GROUP_INFINEON;
8 -       mips_machtype = MACH_INFINEON_AMAZON;
9 -
10         strcpy(&(arcs_cmdline[0]), "console=ttyS0,115200 rootfstype=squashfs,jffs2");
11         
12         add_memory_region(0x00000000, 0x1000000, BOOT_MEM_RAM);