staging: rtl8188eu: Remove hal_data_sz from struct adapter
authornavin patidar <navin.patidar@gmail.com>
Sun, 1 Jun 2014 12:16:46 +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 141f85ae5618b2fd6ff8c5cf4aa7a2e313938aa5..8831be534a6db6790c294d4b009a53a8861eb86e 100644 (file)
@@ -2234,7 +2234,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
        adapt->HalData = rtw_zmalloc(sizeof(struct hal_data_8188e));
        if (adapt->HalData == NULL)
                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_init = &rtl8188eu_hal_init;
index de3b70ca8a7b3591e30089a52027f9d218bdef06..9cdab6ae926f7a080ea9e52de6091deba5ac63ba 100644 (file)
@@ -215,7 +215,6 @@ struct adapter {
        struct wifidirect_info  wdinfo;
 
        void *HalData;
-       u32 hal_data_sz;
        struct hal_ops  HalFunc;
 
        s32     bDriverStopped;