diff options
author | Pierre-Yves Kerbrat <pkerbrat@free.fr> | 2016-10-19 20:49:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 10:57:12 +0200 |
commit | 1050394cd7f0223adfb8ae6faf11a30bd0b7b5f3 (patch) | |
tree | 04dae73c67c9366b42ba79073d89d05992b563c4 /drivers/staging/rtl8188eu/os_dep | |
parent | 3ddaf64835d473e86494f2c8dc776f1962c86808 (diff) | |
download | op-kernel-dev-1050394cd7f0223adfb8ae6faf11a30bd0b7b5f3.zip op-kernel-dev-1050394cd7f0223adfb8ae6faf11a30bd0b7b5f3.tar.gz |
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>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/osdep_service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c index df5f440..c036fe7 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) |