drivers/net/wireless/at76c50x-usb.c: Neaten macros
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
c96c31e499
commit
903c99d8d6
1 changed files with 12 additions and 15 deletions
|
@ -92,17 +92,14 @@
|
||||||
#define at76_dbg(bits, format, arg...) \
|
#define at76_dbg(bits, format, arg...) \
|
||||||
do { \
|
do { \
|
||||||
if (at76_debug & (bits)) \
|
if (at76_debug & (bits)) \
|
||||||
printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
|
printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \
|
||||||
## arg); \
|
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define at76_dbg_dump(bits, buf, len, format, arg...) \
|
#define at76_dbg_dump(bits, buf, len, format, arg...) \
|
||||||
do { \
|
do { \
|
||||||
if (at76_debug & (bits)) { \
|
if (at76_debug & (bits)) { \
|
||||||
printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
|
printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \
|
||||||
## arg); \
|
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len); \
|
||||||
print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, \
|
|
||||||
buf, len); \
|
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue