mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2d60bad9ad
commit
b6b121512b
56 changed files with 121 additions and 6115 deletions
|
@ -87,15 +87,7 @@ static inline void _rtw_p2p_set_pre_state(struct wifidirect_info *wdinfo, enum P
|
|||
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