mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-24 13:33:45 +00:00
rtl8188eu: Remove empty _rtw_free_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
890e54b7a7
commit
e2e51bd6f4
5 changed files with 0 additions and 10 deletions
|
@ -113,8 +113,6 @@ void _rtw_free_cmd_priv (struct cmd_priv *pcmdpriv)
|
|||
|
||||
if (pcmdpriv) {
|
||||
_rtw_spinlock_free(&(pcmdpriv->cmd_queue.lock));
|
||||
_rtw_free_sema(&(pcmdpriv->cmd_queue_sema));
|
||||
_rtw_free_sema(&(pcmdpriv->terminate_cmdthread_sema));
|
||||
|
||||
if (pcmdpriv->cmd_allocated_buf)
|
||||
kfree(pcmdpriv->cmd_allocated_buf);
|
||||
|
|
|
@ -229,8 +229,6 @@ exit:
|
|||
static void rtw_mfree_xmit_priv_lock (struct xmit_priv *pxmitpriv)
|
||||
{
|
||||
_rtw_spinlock_free(&pxmitpriv->lock);
|
||||
_rtw_free_sema(&pxmitpriv->xmit_sema);
|
||||
_rtw_free_sema(&pxmitpriv->terminate_xmitthread_sema);
|
||||
|
||||
_rtw_spinlock_free(&pxmitpriv->be_pending.lock);
|
||||
_rtw_spinlock_free(&pxmitpriv->bk_pending.lock);
|
||||
|
|
|
@ -250,7 +250,6 @@ void _rtw_mfree(u8 *pbuf, u32 sz);
|
|||
void *rtw_malloc2d(int h, int w, int size);
|
||||
void rtw_mfree2d(void *pbuf, int h, int w, int size);
|
||||
|
||||
void _rtw_free_sema(struct semaphore *sema);
|
||||
u32 _rtw_down_sema(struct semaphore *sema);
|
||||
void _rtw_mutex_init(struct mutex *pmutex);
|
||||
void _rtw_mutex_free(struct mutex *pmutex);
|
||||
|
|
|
@ -104,7 +104,6 @@ static inline void _init_pwrlock(struct semaphore *plock)
|
|||
|
||||
static inline void _free_pwrlock(struct semaphore *plock)
|
||||
{
|
||||
_rtw_free_sema(plock);
|
||||
}
|
||||
|
||||
static inline void _enter_pwrlock(struct semaphore *plock)
|
||||
|
|
|
@ -122,10 +122,6 @@ Otherwise, there will be racing condition.
|
|||
Caller must check if the list is empty before calling rtw_list_delete
|
||||
*/
|
||||
|
||||
void _rtw_free_sema(struct semaphore *sema)
|
||||
{
|
||||
}
|
||||
|
||||
u32 _rtw_down_sema(struct semaphore *sema)
|
||||
{
|
||||
if (down_interruptible(sema))
|
||||
|
|
Loading…
Reference in a new issue