Commit 585f8b2c authored by Martin Gumbrecht's avatar Martin Gumbrecht Committed by Greg Kroah-Hartman
Browse files

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



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

Signed-off-by: default avatarMartin Gumbrecht <martin.gumbrecht@googlemail.com>
Signed-off-by: default avatarChristian Bay <christian.bay@studium.fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 492e7e2f
Loading
Loading
Loading
Loading
+6 −8
Original line number Original line Diff line number Diff line
@@ -7,8 +7,7 @@




#define ENQUEUEPACKET(_Head, _Tail,_Packet)	\
#define ENQUEUEPACKET(_Head, _Tail,_Packet)	\
do						\
do {						\
{                                               \
    if (!_Head) {                           \
    if (!_Head) {                           \
        	_Head = _Packet;                \
        	_Head = _Packet;                \
	} 					\
	} 					\
@@ -19,9 +18,8 @@ do \
    _Tail = _Packet;                        \
    _Tail = _Packet;                        \
}while(0)
}while(0)
#define DEQUEUEPACKET(Head, Tail )            	\
#define DEQUEUEPACKET(Head, Tail )            	\
do						\
do {						\
{   if(Head)			\
	if (Head) {				\
	{                                            \
        if (!Head->next) {                      \
        if (!Head->next) {                      \
        	Tail = NULL;                    \
        	Tail = NULL;                    \
        }                                       \
        }                                       \