Commit d9edcafb authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove unused hal_power_on() wrapper

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 39f1a8eb
...@@ -34,13 +34,6 @@ void rtw_hal_sw_led_deinit23a(struct rtw_adapter *padapter) ...@@ -34,13 +34,6 @@ void rtw_hal_sw_led_deinit23a(struct rtw_adapter *padapter)
padapter->HalFunc.DeInitSwLeds(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) void rtw_hal_enable_interrupt23a(struct rtw_adapter *padapter)
{ {
if (padapter->HalFunc.enable_interrupt) if (padapter->HalFunc.enable_interrupt)
......
...@@ -61,8 +61,6 @@ enum hal_odm_variable { ...@@ -61,8 +61,6 @@ enum hal_odm_variable {
}; };
struct hal_ops { struct hal_ops {
u32 (*hal_power_on)(struct rtw_adapter *padapter);
void (*InitSwLeds)(struct rtw_adapter *padapter); void (*InitSwLeds)(struct rtw_adapter *padapter);
void (*DeInitSwLeds)(struct rtw_adapter *padapter); void (*DeInitSwLeds)(struct rtw_adapter *padapter);
...@@ -117,7 +115,6 @@ int rtw_resume_process23a(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_init23a(struct rtw_adapter *padapter);
void rtw_hal_sw_led_deinit23a(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_init23a(struct rtw_adapter *padapter);
int rtw_hal_deinit23a(struct rtw_adapter *padapter); int rtw_hal_deinit23a(struct rtw_adapter *padapter);
void rtw_hal_stop(struct rtw_adapter *padapter); void rtw_hal_stop(struct rtw_adapter *padapter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment