Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 903c99d8 authored by Joe Perches's avatar Joe Perches Committed by John W. Linville
Browse files

drivers/net/wireless/at76c50x-usb.c: Neaten macros

parent c96c31e4
Loading
Loading
Loading
Loading
+13 −16
Original line number Diff line number Diff line
@@ -92,17 +92,14 @@
#define at76_dbg(bits, format, arg...)					\
do {									\
	if (at76_debug & (bits))					\
			printk(KERN_DEBUG DRIVER_NAME ": " format "\n" , \
			       ## arg);					 \
		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);			 \
		printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg);	\
		print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len);	\
	}								\
} while (0)