mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 00:15:49 -04:00
staging: rtl8723au: Remove unused hal_power_on() wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
39f1a8ebba
commit
d9edcafbdc
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user