net: carl9170: remove trailing semicolon in macro definition
PATCH 1/1 net: carl9170: remove trailing semicolon in macro definition
From: Tom Rix <[email protected]>
The macro use will already have a semicolon.
Signed-off-by Tom Rix <[email protected]>
--- drivers/net/wireless/ath/carl9170/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/carl9170/debug.c +2 -2
@@ -45,7 +45,7 @@#include "cmd.h" #define ADD(buf, off, max, fmt, args...) \ - off += scnprintf(&buf[off], max - off, fmt, ##args); + off += scnprintf(&buf[off], max - off, fmt, ##args)struct carl9170_debugfs_fops {
@@ -818,7 +818,7 @@ void carl9170_debugfs_register(struct ar9170 *ar)#define DEBUGFS_ADD (name) \ debugfs_create_file(#name, carl_debugfs_##name ##_ops.attr, \ ar->debug_dir, ar, \ - &carl_debugfs_##name ## _ops.fops); + &carl_debugfs_##name ## _ops.fops)DEBUGFS_ADD (usb_tx_anch_urbs);DEBUGFS_ADD (usb_rx_pool_urbs);
Signature · 1 line
2.18.4
Quoted 4 lines · [email protected] wrote:
The macro use will already have a semicolon.
Signed-off-by Tom Rix <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
e65e8b608f68 carl9170: remove trailing semicolon in macro definition
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches