Commit 867892f3 authored by Elena Oat's avatar Elena Oat Committed by Greg Kroah-Hartman

Staging: rtl8188eu: Fix the warning of space before parenthesis.

This patch fixes the warning of "space prohibited between function name
and open parenthesis '('". The modified file: rtw_cmd.c. The patch also
removes some strange spaces that were generated probably by some editor.
Signed-off-by: default avatarElena Oat <oat.elena@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bfe24b9c
...@@ -32,7 +32,7 @@ Caller and the rtw_cmd_thread can protect cmd_q by spin_lock. ...@@ -32,7 +32,7 @@ Caller and the rtw_cmd_thread can protect cmd_q by spin_lock.
No irqsave is necessary. No irqsave is necessary.
*/ */
int _rtw_init_cmd_priv (struct cmd_priv *pcmdpriv) int _rtw_init_cmd_priv(struct cmd_priv *pcmdpriv)
{ {
int res = _SUCCESS; int res = _SUCCESS;
...@@ -110,7 +110,7 @@ void rtw_free_evt_priv(struct evt_priv *pevtpriv) ...@@ -110,7 +110,7 @@ void rtw_free_evt_priv(struct evt_priv *pevtpriv)
} }
void _rtw_free_cmd_priv (struct cmd_priv *pcmdpriv) void _rtw_free_cmd_priv(struct cmd_priv *pcmdpriv)
{ {
if (pcmdpriv) { if (pcmdpriv) {
...@@ -175,11 +175,11 @@ struct cmd_obj *_rtw_dequeue_cmd(struct __queue *queue) ...@@ -175,11 +175,11 @@ struct cmd_obj *_rtw_dequeue_cmd(struct __queue *queue)
u32 rtw_init_cmd_priv(struct cmd_priv *pcmdpriv) u32 rtw_init_cmd_priv(struct cmd_priv *pcmdpriv)
{ {
u32 res; u32 res;
res = _rtw_init_cmd_priv (pcmdpriv); res = _rtw_init_cmd_priv(pcmdpriv);
return res; return res;
} }
u32 rtw_init_evt_priv (struct evt_priv *pevtpriv) u32 rtw_init_evt_priv(struct evt_priv *pevtpriv)
{ {
int res; int res;
res = _rtw_init_evt_priv(pevtpriv); res = _rtw_init_evt_priv(pevtpriv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment