Commit 51b19bca authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: Remove hal_data_sz from struct adapter

Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b95cb415
...@@ -2234,7 +2234,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt) ...@@ -2234,7 +2234,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
adapt->HalData = rtw_zmalloc(sizeof(struct hal_data_8188e)); adapt->HalData = rtw_zmalloc(sizeof(struct hal_data_8188e));
if (adapt->HalData == NULL) if (adapt->HalData == NULL)
DBG_88E("cant not alloc memory for HAL DATA\n"); DBG_88E("cant not alloc memory for HAL DATA\n");
adapt->hal_data_sz = sizeof(struct hal_data_8188e);
halfunc->hal_power_on = rtl8188eu_InitPowerOn; halfunc->hal_power_on = rtl8188eu_InitPowerOn;
halfunc->hal_init = &rtl8188eu_hal_init; halfunc->hal_init = &rtl8188eu_hal_init;
......
...@@ -215,7 +215,6 @@ struct adapter { ...@@ -215,7 +215,6 @@ struct adapter {
struct wifidirect_info wdinfo; struct wifidirect_info wdinfo;
void *HalData; void *HalData;
u32 hal_data_sz;
struct hal_ops HalFunc; struct hal_ops HalFunc;
s32 bDriverStopped; s32 bDriverStopped;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment