Skip to contentSkip to conversation

MIPS: mipsreg: remove duplicate MIPS_CONF4_FTLBSETS_SHIFT

PATCH New Dan Carpenter 1 participant 1 message Jun 9, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: mipsreg: remove duplicate MIPS_CONF4_FTLBSETS_SHIFT

The MIPS_CONF4_FTLBSETS_SHIFT define is cut and pasted twice so we can remove the second define.

arch/mips/include/asm/mipsregs.h +0 -1
index 98e9754..dcc7872 100644
@@ -630,7 +630,6 @@
 #define MIPS_CONF4_MMUSIZEEXT_SHIFT	(0)
 #define MIPS_CONF4_MMUSIZEEXT	(_ULCAST_(255) << 0)
 #define MIPS_CONF4_FTLBSETS_SHIFT	(0)
-#define MIPS_CONF4_FTLBSETS_SHIFT	(0)
 #define MIPS_CONF4_FTLBSETS	(_ULCAST_(15) << MIPS_CONF4_FTLBSETS_SHIFT)
 #define MIPS_CONF4_FTLBWAYS_SHIFT	(4)
 #define MIPS_CONF4_FTLBWAYS	(_ULCAST_(15) << MIPS_CONF4_FTLBWAYS_SHIFT)