From: Pierre-Yves Kerbrat Date: Wed, 19 Oct 2016 18:49:52 +0000 (+0200) Subject: staging: rtl8188eu: os_dep: remove unnecessary parentheses X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1050394cd7f0223adfb8ae6faf11a30bd0b7b5f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8188eu: os_dep: remove unnecessary parentheses Remove parentheses in _rtw_init_queue to fix checkpatch warning Signed-off-by: Pierre-Yves Kerbrat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c index df5f44000cf0..c036fe7d1df8 100644 --- a/drivers/staging/rtl8188eu/os_dep/osdep_service.c +++ b/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)