staging: rtl8723au: Remove unused hal_data_sz from struct rtw_adapter
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:03:56 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:22 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/usb_halinit.c
drivers/staging/rtl8723au/include/drv_types.h

index 93b71d3..ebdfcb7 100644 (file)
@@ -1747,7 +1747,6 @@ int rtl8723au_set_hal_ops(struct rtw_adapter *padapter)
                DBG_8723A("cannot alloc memory for HAL DATA\n");
                return -ENOMEM;
        }
-       padapter->hal_data_sz = sizeof(struct hal_data_8723a);
 
        pHalFunc->hal_init = &rtl8723au_hal_init;
        pHalFunc->hal_deinit = &rtl8723au_hal_deinit;
index bf0fa90..e31e6ea 100644 (file)
@@ -239,7 +239,6 @@ struct rtw_adapter {
        u32     setband;
 
        void *HalData;
-       u32 hal_data_sz;
        struct hal_ops  HalFunc;
 
        s32     bDriverStopped;