]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
drivers/net/wireless/at76c50x-usb.c: Neaten macros
authorJoe Perches <joe@perches.com>
Mon, 26 Jul 2010 21:39:59 +0000 (14:39 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Jul 2010 19:14:13 +0000 (15:14 -0400)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/at76c50x-usb.c

index 9b0f055420ee0283e418a24a6487af693e96ebd5..d5140a87f0737d92adde6ce9bb725d679be16538 100644 (file)
 #define DBG_DEFAULTS           0
 
 /* Use our own dbg macro */
-#define at76_dbg(bits, format, arg...) \
-       do { \
-               if (at76_debug & (bits))                                 \
-                       printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
-                              ## arg);                                  \
-       } while (0)
-
-#define at76_dbg_dump(bits, buf, len, format, arg...)  \
-       do { \
-               if (at76_debug & (bits)) { \
-                       printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
-                              ## arg);                                  \
-                       print_hex_dump_bytes("", DUMP_PREFIX_OFFSET,     \
-                                            buf, len);                  \
-               }                                                        \
-       } while (0)
+#define at76_dbg(bits, format, arg...)                                 \
+do {                                                                   \
+       if (at76_debug & (bits))                                        \
+               printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \
+} while (0)
+
+#define at76_dbg_dump(bits, buf, len, format, arg...)                  \
+do {                                                                   \
+       if (at76_debug & (bits)) {                                      \
+               printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \
+               print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len); \
+       }                                                               \
+} while (0)
 
 static uint at76_debug = DBG_DEFAULTS;