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 9220405..1821064 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 03a350e..5356d8c 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.