rtw88: remove unused lps state check helper
This is no more used, remove it. Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
3d391c06d9
commit
5235d63640
|
@ -91,11 +91,6 @@ static void rtw_enter_lps_core(struct rtw_dev *rtwdev)
|
|||
set_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags);
|
||||
}
|
||||
|
||||
bool rtw_in_lps(struct rtw_dev *rtwdev)
|
||||
{
|
||||
return test_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags);
|
||||
}
|
||||
|
||||
void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id)
|
||||
{
|
||||
struct rtw_lps_conf *conf = &rtwdev->lps_conf;
|
||||
|
|
|
@ -12,6 +12,5 @@ int rtw_leave_ips(struct rtw_dev *rtwdev);
|
|||
|
||||
void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id);
|
||||
void rtw_leave_lps(struct rtw_dev *rtwdev);
|
||||
bool rtw_in_lps(struct rtw_dev *rtwdev);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue