drivers: staging: rtl8723au: Fix return is not a function, parentheses are not requir...
authorGreg Donald <gdonald@gmail.com>
Mon, 1 Sep 2014 00:46:19 +0000 (19:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 17:48:32 +0000 (10:48 -0700)
Fix checkpatch.pl return is not a function, parentheses are not required error

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/osdep_service.h

index 51a5d7b8ac11c0cab91e0b7f81facdc802255fce..dedb41874de52405d84b32af013cb5339d84e446 100644 (file)
@@ -54,7 +54,7 @@ struct rtw_queue {
 
 static inline struct list_head *get_list_head(struct rtw_queue *queue)
 {
-       return (&queue->queue);
+       return &queue->queue;
 }
 
 static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)