From d9edcafbdc3e8b073f775aa206da8ce7cf045e43 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Fri, 16 May 2014 10:04:21 +0200 Subject: [PATCH] staging: rtl8723au: Remove unused hal_power_on() wrapper Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/hal/hal_intf.c | 7 ------- drivers/staging/rtl8723au/include/hal_intf.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/hal_intf.c b/drivers/staging/rtl8723au/hal/hal_intf.c index 1904582d3ec0..dba428ac21ed 100644 --- a/drivers/staging/rtl8723au/hal/hal_intf.c +++ b/drivers/staging/rtl8723au/hal/hal_intf.c @@ -34,13 +34,6 @@ void rtw_hal_sw_led_deinit23a(struct rtw_adapter *padapter) padapter->HalFunc.DeInitSwLeds(padapter); } -u32 rtw_hal_power_on23a(struct rtw_adapter *padapter) -{ - if (padapter->HalFunc.hal_power_on) - return padapter->HalFunc.hal_power_on(padapter); - return _FAIL; -} - void rtw_hal_enable_interrupt23a(struct rtw_adapter *padapter) { if (padapter->HalFunc.enable_interrupt) diff --git a/drivers/staging/rtl8723au/include/hal_intf.h b/drivers/staging/rtl8723au/include/hal_intf.h index f69e9339fac3..6e32215a0b04 100644 --- a/drivers/staging/rtl8723au/include/hal_intf.h +++ b/drivers/staging/rtl8723au/include/hal_intf.h @@ -61,8 +61,6 @@ enum hal_odm_variable { }; struct hal_ops { - u32 (*hal_power_on)(struct rtw_adapter *padapter); - void (*InitSwLeds)(struct rtw_adapter *padapter); void (*DeInitSwLeds)(struct rtw_adapter *padapter); @@ -117,7 +115,6 @@ int rtw_resume_process23a(struct rtw_adapter *padapter); void rtw_hal_sw_led_init23a(struct rtw_adapter *padapter); void rtw_hal_sw_led_deinit23a(struct rtw_adapter *padapter); -u32 rtw_hal_power_on23a(struct rtw_adapter *padapter); int rtw_hal_init23a(struct rtw_adapter *padapter); int rtw_hal_deinit23a(struct rtw_adapter *padapter); void rtw_hal_stop(struct rtw_adapter *padapter); -- 2.11.0