aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-05-14 15:15:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-05-16 14:26:53 -0400
commitf8b8a47e06a0d07219629c83de2a3b7ff1d5aa65 (patch)
treeae3b71b4a5e8a2bfffb5721e89b1e36d65e1f8a9 /drivers/net/wireless/ti
parent8d767dcbea32ef9c1c1640ee8dde7db3e1e36f4a (diff)
wlcore: Remove trailing semicolon from do {...} while (0) macro
These should not have trailing semicolons so remove them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r--drivers/net/wireless/ti/wlcore/debugfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.h b/drivers/net/wireless/ti/wlcore/debugfs.h
index f7381dd69009..0f2cfb0d2a9e 100644
--- a/drivers/net/wireless/ti/wlcore/debugfs.h
+++ b/drivers/net/wireless/ti/wlcore/debugfs.h
@@ -57,7 +57,7 @@ static const struct file_operations name## _ops = { \
57 wl, &name## _ops); \ 57 wl, &name## _ops); \
58 if (!entry || IS_ERR(entry)) \ 58 if (!entry || IS_ERR(entry)) \
59 goto err; \ 59 goto err; \
60 } while (0); 60 } while (0)
61 61
62 62
63#define DEBUGFS_ADD_PREFIX(prefix, name, parent) \ 63#define DEBUGFS_ADD_PREFIX(prefix, name, parent) \
@@ -66,7 +66,7 @@ static const struct file_operations name## _ops = { \
66 wl, &prefix## _## name## _ops); \ 66 wl, &prefix## _## name## _ops); \
67 if (!entry || IS_ERR(entry)) \ 67 if (!entry || IS_ERR(entry)) \
68 goto err; \ 68 goto err; \
69 } while (0); 69 } while (0)
70 70
71#define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ 71#define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \
72static ssize_t sub## _ ##name## _read(struct file *file, \ 72static ssize_t sub## _ ##name## _read(struct file *file, \