drivers: staging: rtl8723au: Fix return is not a function, parentheses are not required error
PATCH 1/1 drivers: staging: rtl8723au: Fix return is not a function, parentheses are not required error
Fix checkpatch.pl return is not a function, parentheses are not required error
Signed-off-by Greg Donald <[email protected]>
--- drivers/staging/rtl8723au/include/osdep_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723au/include/osdep_service.h +1 -1
@@ -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)
Signature · 1 line
1.9.1
Quoted 6 lines · Greg Donald
Fix checkpatch.pl return is not a function, parentheses are not required error
Signed-off-by Greg Donald <[email protected]>--- drivers/staging/rtl8723au/include/osdep_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Yes please!
Acked-by Jes Sorensen <[email protected]>
Quoted 15 lines
drivers/staging/rtl8723au/include/osdep_service.h +1
-1@@ -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)