Commit f8b8a47e authored by Joe Perches's avatar Joe Perches Committed by John W. Linville

wlcore: Remove trailing semicolon from do {...} while (0) macro

These should not have trailing semicolons so remove them.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8d767dcb
...@@ -57,7 +57,7 @@ static const struct file_operations name## _ops = { \ ...@@ -57,7 +57,7 @@ static const struct file_operations name## _ops = { \
wl, &name## _ops); \ wl, &name## _ops); \
if (!entry || IS_ERR(entry)) \ if (!entry || IS_ERR(entry)) \
goto err; \ goto err; \
} while (0); } while (0)
#define DEBUGFS_ADD_PREFIX(prefix, name, parent) \ #define DEBUGFS_ADD_PREFIX(prefix, name, parent) \
...@@ -66,7 +66,7 @@ static const struct file_operations name## _ops = { \ ...@@ -66,7 +66,7 @@ static const struct file_operations name## _ops = { \
wl, &prefix## _## name## _ops); \ wl, &prefix## _## name## _ops); \
if (!entry || IS_ERR(entry)) \ if (!entry || IS_ERR(entry)) \
goto err; \ goto err; \
} while (0); } while (0)
#define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \
static ssize_t sub## _ ##name## _read(struct file *file, \ static ssize_t sub## _ ##name## _read(struct file *file, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment