Commit 1050394c authored by Pierre-Yves Kerbrat's avatar Pierre-Yves Kerbrat Committed by Greg Kroah-Hartman

staging: rtl8188eu: os_dep: remove unnecessary parentheses

Remove parentheses in _rtw_init_queue to fix checkpatch warning
Signed-off-by: default avatarPierre-Yves Kerbrat <pkerbrat@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3ddaf648
...@@ -54,10 +54,10 @@ void *rtw_malloc2d(int h, int w, int size) ...@@ -54,10 +54,10 @@ void *rtw_malloc2d(int h, int w, int size)
return a; return a;
} }
void _rtw_init_queue(struct __queue *pqueue) void _rtw_init_queue(struct __queue *pqueue)
{ {
INIT_LIST_HEAD(&(pqueue->queue)); INIT_LIST_HEAD(&pqueue->queue);
spin_lock_init(&(pqueue->lock)); spin_lock_init(&pqueue->lock);
} }
struct net_device *rtw_alloc_etherdev_with_old_priv(void *old_priv) struct net_device *rtw_alloc_etherdev_with_old_priv(void *old_priv)
......
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