Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: bcm: Queue.h: fix checkpatch errors: whitespaces

This patch improves coding style in Queue.h
Whitespaces according to the coding guideline

Signed-off-by: Martin Gumbrecht <martin.gumbrecht@googlemail.com>
Signed-off-by: Christian Bay <christian.bay@studium.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Martin Gumbrecht and committed by
Greg Kroah-Hartman
dc87a84e 585f8b2c

+16 -16
+16 -16
drivers/staging/bcm/Queue.h
··· 6 6 7 7 8 8 9 - #define ENQUEUEPACKET(_Head, _Tail,_Packet) \ 9 + #define ENQUEUEPACKET(_Head, _Tail, _Packet) \ 10 10 do { \ 11 - if (!_Head) { \ 12 - _Head = _Packet; \ 13 - } \ 14 - else { \ 15 - (_Tail)->next = _Packet; \ 16 - } \ 17 - (_Packet)->next = NULL; \ 18 - _Tail = _Packet; \ 19 - }while(0) 20 - #define DEQUEUEPACKET(Head, Tail ) \ 11 + if (!_Head) { \ 12 + _Head = _Packet; \ 13 + } \ 14 + else { \ 15 + (_Tail)->next = _Packet; \ 16 + } \ 17 + (_Packet)->next = NULL; \ 18 + _Tail = _Packet; \ 19 + } while (0) 20 + #define DEQUEUEPACKET(Head, Tail) \ 21 21 do { \ 22 22 if (Head) { \ 23 - if (!Head->next) { \ 24 - Tail = NULL; \ 25 - } \ 26 - Head = Head->next; \ 27 - } \ 23 + if (!Head->next) { \ 24 + Tail = NULL; \ 25 + } \ 26 + Head = Head->next; \ 27 + } \ 28 28 } while (0) 29 29 #endif /* __QUEUE_H__ */