rtl8188eu: Routine _rtw_deinit_queue() is a no-op

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2018-12-21 21:39:37 -06:00
parent 7a75f128ba
commit 537fff9e9d
3 changed files with 0 additions and 10 deletions

View file

@ -61,7 +61,6 @@ inline void rtw_st_ctl_clear_tracker_q(struct st_ctl_t *st_ctl)
inline void rtw_st_ctl_deinit(struct st_ctl_t *st_ctl)
{
rtw_st_ctl_clear_tracker_q(st_ctl);
_rtw_deinit_queue(&st_ctl->tracker_q);
}
inline void rtw_st_ctl_register(struct st_ctl_t *st_ctl, u8 st_reg_id, struct st_register *reg)
@ -390,10 +389,6 @@ u32 _rtw_free_sta_priv(struct sta_priv *pstapriv)
rtw_mfree_sta_priv_lock(pstapriv);
#if CONFIG_RTW_MACADDR_ACL
_rtw_deinit_queue(&(pstapriv->acl_list.acl_node_q));
#endif
#if CONFIG_RTW_PRE_LINK_STA
rtw_pre_link_sta_ctl_deinit(pstapriv);
#endif

View file

@ -265,7 +265,6 @@ extern void _rtw_spinlock_ex(_lock *plock);
extern void _rtw_spinunlock_ex(_lock *plock);
extern void _rtw_init_queue(_queue *pqueue);
extern void _rtw_deinit_queue(_queue *pqueue);
extern u32 _rtw_queue_empty(_queue *pqueue);
extern u32 rtw_end_of_queue_search(_list *queue, _list *pelement);

View file

@ -742,10 +742,6 @@ void _rtw_init_queue(_queue *pqueue)
spin_lock_init(&(pqueue->lock));
}
void _rtw_deinit_queue(_queue *pqueue)
{
}
u32 _rtw_queue_empty(_queue *pqueue)
{
return list_empty(&(pqueue->queue));