summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-06-01 16:16:48 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 02:30:03 +0400
commit24e0bf42ecd2201872e765509d0846493585540d (patch)
tree33fc23a4e6320c6d74fb49b0a56caf222320eed3
parent525c6880399cac77213842e055c4c7243bed8497 (diff)
downloadlinux-24e0bf42ecd2201872e765509d0846493585540d.tar.xz
staging: rtl8188eu:Remove EepromAddressSize from struct adapter
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/hal/usb_halinit.c3
-rw-r--r--drivers/staging/rtl8188eu/include/drv_types.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 8831be534a6d..e60b5e9ee317 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -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);
}
diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h
index a459206d37de..ec9ad4a89d27 100644
--- a/drivers/staging/rtl8188eu/include/drv_types.h
+++ b/drivers/staging/rtl8188eu/include/drv_types.h
@@ -220,7 +220,6 @@ struct adapter {
s32 bSurpriseRemoved;
s32 bCardDisableWOHSM;
- u8 EepromAddressSize;
u8 hw_init_completed;
void *cmdThread;