Преглед изворни кода

staging: rtl8188eu: os_dep: remove unnecessary parentheses

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>
Pierre-Yves Kerbrat пре 8 година
родитељ
комит
1050394cd7
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      drivers/staging/rtl8188eu/os_dep/osdep_service.c

+ 3 - 3
drivers/staging/rtl8188eu/os_dep/osdep_service.c

@@ -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)