summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt3070/common/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/rt3070/common/eeprom.c')
-rw-r--r--drivers/staging/rt3070/common/eeprom.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rt3070/common/eeprom.c b/drivers/staging/rt3070/common/eeprom.c
index 63e1dc14d151..ebd52f50a07b 100644
--- a/drivers/staging/rt3070/common/eeprom.c
+++ b/drivers/staging/rt3070/common/eeprom.c
@@ -361,11 +361,7 @@ UCHAR eFuseReadRegisters(
//Return 2-bytes
//The return byte statrs from S. Therefore, the little-endian will return BA, the Big-endian will return DC.
//For returning the bottom 2 bytes, the Big-endian should shift right 2-bytes.
-#ifdef RT_BIG_ENDIAN
- data = data << (8*((Offset & 0x3)^0x2));
-#else
data = data >> (8*(Offset & 0x3));
-#endif
NdisMoveMemory(pData, &data, Length);
}
@@ -438,11 +434,7 @@ VOID eFusePhysicalReadRegisters(
RTMP_IO_READ32(pAd, efuseDataOffset, &data);
-#ifdef RT_BIG_ENDIAN
- data = data << (8*((Offset & 0x3)^0x2));
-#else
data = data >> (8*(Offset & 0x3));
-#endif
NdisMoveMemory(pData, &data, Length);