mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
rtl8188eu: Remove dead code inside #if 0 ... #endif
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
3ad757d04a
commit
77e736c66a
64 changed files with 98 additions and 7692 deletions
|
@ -81,21 +81,14 @@ static inline void _rtw_p2p_set_state(struct wifidirect_info *wdinfo, enum P2P_S
|
|||
wdinfo->p2p_state = state;
|
||||
}
|
||||
}
|
||||
|
||||
static inline void _rtw_p2p_set_pre_state(struct wifidirect_info *wdinfo, enum P2P_STATE state)
|
||||
{
|
||||
if (wdinfo->pre_p2p_state != state) {
|
||||
wdinfo->pre_p2p_state = state;
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
static inline void _rtw_p2p_restore_state(struct wifidirect_info *wdinfo)
|
||||
{
|
||||
if (wdinfo->pre_p2p_state != -1) {
|
||||
wdinfo->p2p_state = wdinfo->pre_p2p_state;
|
||||
wdinfo->pre_p2p_state = -1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline void _rtw_p2p_set_role(struct wifidirect_info *wdinfo, enum P2P_ROLE role)
|
||||
{
|
||||
if (wdinfo->role != role) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue