OSDN Git Service

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 8831be5..e60b5e9 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 a459206..ec9ad4a 100644 (file)
@@ -220,7 +220,6 @@ struct adapter {
        s32     bSurpriseRemoved;
        s32     bCardDisableWOHSM;
 
-       u8      EepromAddressSize;
        u8      hw_init_completed;
 
        void *cmdThread;