mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 15:42:46 +00:00
staging: rtl8188eu: Rename _rtw_dequeue_cmd() to rtw_dequeue_cmd()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
11431bdb57
commit
4680f1589d
2 changed files with 4 additions and 14 deletions
|
@ -110,7 +110,7 @@ int _rtw_enqueue_cmd(struct __queue *queue, struct cmd_obj *obj)
|
|||
return _SUCCESS;
|
||||
}
|
||||
|
||||
struct cmd_obj *_rtw_dequeue_cmd(struct __queue *queue)
|
||||
struct cmd_obj * rtw_dequeue_cmd(struct __queue *queue)
|
||||
{
|
||||
unsigned long irqL;
|
||||
struct cmd_obj *obj;
|
||||
|
@ -181,16 +181,6 @@ u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
|
|||
return res;
|
||||
}
|
||||
|
||||
struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv)
|
||||
{
|
||||
struct cmd_obj *cmd_obj;
|
||||
|
||||
|
||||
cmd_obj = _rtw_dequeue_cmd(&pcmdpriv->cmd_queue);
|
||||
|
||||
return cmd_obj;
|
||||
}
|
||||
|
||||
void rtw_free_cmd_obj(struct cmd_obj *pcmd)
|
||||
{
|
||||
|
||||
|
@ -248,7 +238,7 @@ int rtw_cmd_thread(void *context)
|
|||
break;
|
||||
}
|
||||
|
||||
pcmd = rtw_dequeue_cmd(pcmdpriv);
|
||||
pcmd = rtw_dequeue_cmd(&pcmdpriv->cmd_queue);
|
||||
if (!pcmd)
|
||||
continue;
|
||||
|
||||
|
@ -304,7 +294,7 @@ int rtw_cmd_thread(void *context)
|
|||
|
||||
/* free all cmd_obj resources */
|
||||
do {
|
||||
pcmd = rtw_dequeue_cmd(pcmdpriv);
|
||||
pcmd = rtw_dequeue_cmd(&pcmdpriv->cmd_queue);
|
||||
if (pcmd == NULL)
|
||||
break;
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ do {\
|
|||
} while (0)
|
||||
|
||||
u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *obj);
|
||||
struct cmd_obj *rtw_dequeue_cmd(struct cmd_priv *pcmdpriv);
|
||||
struct cmd_obj *rtw_dequeue_cmd(struct __queue *queue);
|
||||
void rtw_free_cmd_obj(struct cmd_obj *pcmd);
|
||||
|
||||
int rtw_cmd_thread(void *context);
|
||||
|
|
Loading…
Reference in a new issue