diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-08-23 15:29:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:21 -0700 |
commit | b19925513b9911e1e534b8f78b745b810e0bc410 (patch) | |
tree | 9eb90fd9d3b34eb283bfa5ec41dd8bf261f5afb0 /drivers/staging/rt2860 | |
parent | 9a5e59add33d0962544703ed4964d2835892e21a (diff) |
Staging: rt3070: remove needless EFUSE_TAG register read
* 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>
Diffstat (limited to 'drivers/staging/rt2860')
-rw-r--r-- | drivers/staging/rt2860/common/rtmp_init.c | 8 | ||||
-rw-r--r-- | drivers/staging/rt2860/rtmp.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/rt2860/common/rtmp_init.c b/drivers/staging/rt2860/common/rtmp_init.c index 92204051d02..18210647206 100644 --- a/drivers/staging/rt2860/common/rtmp_init.c +++ b/drivers/staging/rt2860/common/rtmp_init.c @@ -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")); } diff --git a/drivers/staging/rt2860/rtmp.h b/drivers/staging/rt2860/rtmp.h index 03a350ec450..5356d8ccebd 100644 --- a/drivers/staging/rt2860/rtmp.h +++ b/drivers/staging/rt2860/rtmp.h @@ -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. |