MIPS: Remove useless parentheses
[pandora-kernel.git] / arch / mips / sgi-ip22 / ip22-mc.c
index 7cec0a4..6b009c4 100644 (file)
@@ -24,14 +24,12 @@ EXPORT_SYMBOL(sgimc);
 
 static inline unsigned long get_bank_addr(unsigned int memconfig)
 {
-       return ((memconfig & SGIMC_MCONFIG_BASEADDR) <<
-               ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 24 : 22));
+       return (memconfig & SGIMC_MCONFIG_BASEADDR) << ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 24 : 22);
 }
 
 static inline unsigned long get_bank_size(unsigned int memconfig)
 {
-       return ((memconfig & SGIMC_MCONFIG_RMASK) + 0x0100) <<
-               ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 16 : 14);
+       return ((memconfig & SGIMC_MCONFIG_RMASK) + 0x0100) << ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 16 : 14);
 }
 
 static inline unsigned int get_bank_config(int bank)