From d87283ff9b99b3e3225b8dd970e850ce6f3cc3bb Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Fri, 16 May 2014 10:03:56 +0200 Subject: [PATCH] staging: rtl8723au: Remove unused hal_data_sz from struct rtw_adapter Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/hal/usb_halinit.c | 1 - drivers/staging/rtl8723au/include/drv_types.h | 1 - 2 files changed, 2 deletions(-) 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; -- 2.34.1