From: navin patidar Date: Sun, 1 Jun 2014 12:16:48 +0000 (+0530) Subject: staging: rtl8188eu:Remove EepromAddressSize from struct adapter X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=24e0bf42ecd2201872e765509d0846493585540d;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8188eu:Remove EepromAddressSize from struct adapter Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- 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;