diff --git a/core/rtw_sta_mgt.c b/core/rtw_sta_mgt.c index 35d215e..c9721cf 100644 --- a/core/rtw_sta_mgt.c +++ b/core/rtw_sta_mgt.c @@ -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 diff --git a/include/osdep_service.h b/include/osdep_service.h index c18ef26..41578bb 100644 --- a/include/osdep_service.h +++ b/include/osdep_service.h @@ -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); diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index 2d0163d..d3b7d92 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -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));