wlcore: Remove trailing semicolon from do {...} while (0) macro
authorJoe Perches <joe@perches.com>
Wed, 14 May 2014 19:15:14 +0000 (12:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 May 2014 18:26:53 +0000 (14:26 -0400)
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>
drivers/net/wireless/ti/wlcore/debugfs.h

index f7381dd69009a150e1901a876494d225e0267f5e..0f2cfb0d2a9ec38fe013872e6d4339c2db1345e3 100644 (file)
@@ -57,7 +57,7 @@ static const struct file_operations name## _ops = {                   \
                                            wl, &name## _ops);          \
                if (!entry || IS_ERR(entry))                            \
                        goto err;                                       \
-       } while (0);
+       } while (0)
 
 
 #define DEBUGFS_ADD_PREFIX(prefix, name, parent)                       \
@@ -66,7 +66,7 @@ static const struct file_operations name## _ops = {                   \
                                    wl, &prefix## _## name## _ops);     \
                if (!entry || IS_ERR(entry))                            \
                        goto err;                                       \
-       } while (0);
+       } while (0)
 
 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type)              \
 static ssize_t sub## _ ##name## _read(struct file *file,               \