summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gumbrecht <martin.gumbrecht@googlemail.com>2014-06-20 19:38:02 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 20:48:25 +0400
commitdc87a84e316b486d7a24f744b79459c2fab6dc95 (patch)
treeee1da3d47dddb42ec49d3fba86b16c3cf94b92a2
parent585f8b2cc03aa3789375596107e30b64fa035702 (diff)
downloadlinux-dc87a84e316b486d7a24f744b79459c2fab6dc95.tar.xz
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>
-rw-r--r--drivers/staging/bcm/Queue.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/staging/bcm/Queue.h b/drivers/staging/bcm/Queue.h
index b6f8468e9d52..460c0aee67f6 100644
--- a/drivers/staging/bcm/Queue.h
+++ b/drivers/staging/bcm/Queue.h
@@ -6,24 +6,24 @@
-#define ENQUEUEPACKET(_Head, _Tail,_Packet) \
+#define ENQUEUEPACKET(_Head, _Tail, _Packet) \
do { \
- if (!_Head) { \
- _Head = _Packet; \
- } \
- else { \
- (_Tail)->next = _Packet; \
- } \
- (_Packet)->next = NULL; \
- _Tail = _Packet; \
-}while(0)
-#define DEQUEUEPACKET(Head, Tail ) \
+ if (!_Head) { \
+ _Head = _Packet; \
+ } \
+ else { \
+ (_Tail)->next = _Packet; \
+ } \
+ (_Packet)->next = NULL; \
+ _Tail = _Packet; \
+} while (0)
+#define DEQUEUEPACKET(Head, Tail) \
do { \
if (Head) { \
- if (!Head->next) { \
- Tail = NULL; \
- } \
- Head = Head->next; \
- } \
+ if (!Head->next) { \
+ Tail = NULL; \
+ } \
+ Head = Head->next; \
+ } \
} while (0)
#endif /* __QUEUE_H__ */