From: Jiri Olsa remove dead config symbols from MIPS code Signed-off-by: Jiri Olsa Cc: Ralf Baechle Signed-off-by: Andrew Morton --- include/asm-mips/pmc-sierra/msp71xx/msp_regs.h | 4 --- include/asm-mips/sn/addrs.h | 2 - include/asm-mips/sn/agent.h | 4 --- include/asm-mips/sn/klconfig.h | 18 --------------- 4 files changed, 2 insertions(+), 26 deletions(-) diff -puN include/asm-mips/pmc-sierra/msp71xx/msp_regs.h~mips-remove-dead-config-symbols-from-mips-code include/asm-mips/pmc-sierra/msp71xx/msp_regs.h --- a/include/asm-mips/pmc-sierra/msp71xx/msp_regs.h~mips-remove-dead-config-symbols-from-mips-code +++ a/include/asm-mips/pmc-sierra/msp71xx/msp_regs.h @@ -585,11 +585,7 @@ * UART defines * *************************************************************************** */ -#ifndef CONFIG_MSP_FPGA #define MSP_BASE_BAUD 25000000 -#else -#define MSP_BASE_BAUD 6000000 -#endif #define MSP_UART_REG_LEN 0x20 /* diff -puN include/asm-mips/sibyte/board.h~mips-remove-dead-config-symbols-from-mips-code include/asm-mips/sibyte/board.h diff -puN include/asm-mips/sibyte/swarm.h~mips-remove-dead-config-symbols-from-mips-code include/asm-mips/sibyte/swarm.h diff -puN include/asm-mips/sn/addrs.h~mips-remove-dead-config-symbols-from-mips-code include/asm-mips/sn/addrs.h --- a/include/asm-mips/sn/addrs.h~mips-remove-dead-config-symbols-from-mips-code +++ a/include/asm-mips/sn/addrs.h @@ -19,8 +19,6 @@ #if defined(CONFIG_SGI_IP27) #include -#elif defined(CONFIG_SGI_IP35) -#include #endif diff -puN include/asm-mips/sn/agent.h~mips-remove-dead-config-symbols-from-mips-code include/asm-mips/sn/agent.h --- a/include/asm-mips/sn/agent.h~mips-remove-dead-config-symbols-from-mips-code +++ a/include/asm-mips/sn/agent.h @@ -17,9 +17,7 @@ #if defined(CONFIG_SGI_IP27) #include -#elif defined(CONFIG_SGI_IP35) -#include -#endif /* !CONFIG_SGI_IP27 && !CONFIG_SGI_IP35 */ +#endif /* !CONFIG_SGI_IP27 */ /* * NIC register macros diff -puN include/asm-mips/sn/klconfig.h~mips-remove-dead-config-symbols-from-mips-code include/asm-mips/sn/klconfig.h --- a/include/asm-mips/sn/klconfig.h~mips-remove-dead-config-symbols-from-mips-code +++ a/include/asm-mips/sn/klconfig.h @@ -40,26 +40,10 @@ //#include //#include -#elif defined(CONFIG_SGI_IP35) - -#include -#include -#include -#include - -#endif /* !CONFIG_SGI_IP27 && !CONFIG_SGI_IP35 */ - -#if defined(CONFIG_SGI_IP27) || defined(CONFIG_SGI_IP35) #include #include #include -#if defined(CONFIG_SGI_IP35) -// The hack file has to be before vector and after sn0_fru.... -#include -#include -#include -#endif /* CONFIG_SGI_IP35 */ -#endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */ +#endif /* CONFIG_SGI_IP27 */ typedef u64 nic_t; _