Staging: rt3070: remove needless EFUSE_TAG register read
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 23 Aug 2009 13:29:45 +0000 (15:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:21 +0000 (12:02 -0700)
* remove write-only EFuseTag field from RTMP_ADAPTER
* remove needless EFUSE_TAG register read

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/rtmp_init.c
drivers/staging/rt2860/rtmp.h

index 92204051d020a5dcd91e8fdd4129fbfde5c2b470..182106472066610547b096174e5424c8494b9df5 100644 (file)
@@ -1762,14 +1762,6 @@ VOID     NICReadEEPROMParameters(
 
        RTMPReadTxPwrPerRate(pAd);
 
-#ifdef RT30xx
-       if (IS_RT30xx(pAd))
-       {
-               eFusePhysicalReadRegisters(pAd, EFUSE_TAG, 2, &value);
-               pAd->EFuseTag = (value & 0xff);
-       }
-#endif // RT30xx //
-
        DBGPRINT(RT_DEBUG_TRACE, ("<-- NICReadEEPROMParameters\n"));
 }
 
index 03a350ec450528af460d9e93a8d6aaff22411537..5356d8ccebdc6e93a651a5db8847cb704ec70d92 100644 (file)
@@ -2669,7 +2669,6 @@ typedef struct _RTMP_ADAPTER
        USHORT                  EEPROMDefaultValue[NUM_EEPROM_BBP_PARMS];
 #ifdef RT30xx
        BOOLEAN                 EepromAccess;
-       UCHAR                   EFuseTag;
 #endif
        ULONG                   FirmwareVersion;        // byte 0: Minor version, byte 1: Major version, otherwise unused.