]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8188eu: os_dep: remove unnecessary parentheses
authorPierre-Yves Kerbrat <pkerbrat@free.fr>
Wed, 19 Oct 2016 18:49:52 +0000 (20:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 08:57:12 +0000 (10:57 +0200)
Remove parentheses in _rtw_init_queue to fix checkpatch warning

Signed-off-by: Pierre-Yves Kerbrat <pkerbrat@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/osdep_service.c

index df5f44000cf02eeecd561be5d3008384986143be..c036fe7d1df805f4dc04b0e9e66465933f944f2b 100644 (file)
@@ -54,10 +54,10 @@ void *rtw_malloc2d(int h, int w, int size)
        return a;
 }
 
-void   _rtw_init_queue(struct __queue *pqueue)
+void _rtw_init_queue(struct __queue *pqueue)
 {
-       INIT_LIST_HEAD(&(pqueue->queue));
-       spin_lock_init(&(pqueue->lock));
+       INIT_LIST_HEAD(&pqueue->queue);
+       spin_lock_init(&pqueue->lock);
 }
 
 struct net_device *rtw_alloc_etherdev_with_old_priv(void *old_priv)