From: Jes Sorensen Date: Fri, 16 May 2014 08:03:56 +0000 (+0200) Subject: staging: rtl8723au: Remove unused hal_data_sz from struct rtw_adapter X-Git-Tag: next-20140519~19^2~146 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d87283ff9b99b3e3225b8dd970e850ce6f3cc3bb;p=karo-tx-linux.git staging: rtl8723au: Remove unused hal_data_sz from struct rtw_adapter Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c b/drivers/staging/rtl8723au/hal/usb_halinit.c index 93b71d380841..ebdfcb7602d2 100644 --- a/drivers/staging/rtl8723au/hal/usb_halinit.c +++ b/drivers/staging/rtl8723au/hal/usb_halinit.c @@ -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; diff --git a/drivers/staging/rtl8723au/include/drv_types.h b/drivers/staging/rtl8723au/include/drv_types.h index bf0fa90928e2..e31e6ea56f54 100644 --- a/drivers/staging/rtl8723au/include/drv_types.h +++ b/drivers/staging/rtl8723au/include/drv_types.h @@ -239,7 +239,6 @@ struct rtw_adapter { u32 setband; void *HalData; - u32 hal_data_sz; struct hal_ops HalFunc; s32 bDriverStopped;