From: Jes Sorensen Date: Fri, 16 May 2014 08:03:55 +0000 (+0200) Subject: staging: rtl8723au: Remove unused rtl8723a_clone_haldata() X-Git-Tag: next-20140519~19^2~147 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f207b02db8755807649861cc73c9927d2dc8a522;p=karo-tx-linux.git staging: rtl8723au: Remove unused rtl8723a_clone_haldata() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c index 55e3a6923910..e23e5e38f01b 100644 --- a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c +++ b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c @@ -3171,10 +3171,3 @@ void rtl8723a_SingleDualAntennaDetection(struct rtw_adapter *padapter) } } #endif /* CONFIG_8723AU_BT_COEXIST */ - -void rtl8723a_clone_haldata(struct rtw_adapter *dst_adapter, - struct rtw_adapter *src_adapter) -{ - memcpy(dst_adapter->HalData, src_adapter->HalData, - dst_adapter->hal_data_sz); -} diff --git a/drivers/staging/rtl8723au/include/rtl8723a_hal.h b/drivers/staging/rtl8723au/include/rtl8723a_hal.h index d4121a8c022d..9eff12abc670 100644 --- a/drivers/staging/rtl8723au/include/rtl8723a_hal.h +++ b/drivers/staging/rtl8723au/include/rtl8723a_hal.h @@ -540,7 +540,6 @@ void rtl8723a_SingleDualAntennaDetection(struct rtw_adapter *padapter); void SetBcnCtrlReg23a(struct rtw_adapter *padapter, u8 SetBits, u8 ClearBits); void rtl8723a_InitBeaconParameters(struct rtw_adapter *padapter); -void rtl8723a_clone_haldata(struct rtw_adapter *dst_adapter, struct rtw_adapter *src_adapter); void rtl8723a_start_thread(struct rtw_adapter *padapter); void rtl8723a_stop_thread(struct rtw_adapter *padapter);