staging: rtl8188eu:Remove EepromAddressSize from struct adapter
authornavin patidar <navin.patidar@gmail.com>
Sun, 1 Jun 2014 12:16:48 +0000 (17:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:30:03 +0000 (15:30 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/drv_types.h

index 8831be534a6db6790c294d4b009a53a8861eb86e..e60b5e9ee317798411d000a49e6ed7a3e4cb9a1b 100644 (file)
@@ -1203,9 +1203,6 @@ static int _ReadAdapterInfo8188EU(struct adapter *Adapter)
 
 static void ReadAdapterInfo8188EU(struct adapter *Adapter)
 {
-       /*  Read EEPROM size before call any EEPROM function */
-       Adapter->EepromAddressSize = GetEEPROMSize8188E(Adapter);
-
        _ReadAdapterInfo8188EU(Adapter);
 }
 
index a459206d37decfef38a91ab6fa7a8488bfb56833..ec9ad4a89d27ca69b7baabbe16a68bdab6b39bbf 100644 (file)
@@ -220,7 +220,6 @@ struct adapter {
        s32     bSurpriseRemoved;
        s32     bCardDisableWOHSM;
 
-       u8      EepromAddressSize;
        u8      hw_init_completed;
 
        void *cmdThread;