summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/sysfs.c
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2014-05-15 11:24:26 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2014-05-18 15:04:00 +0200
commit2b64df20586d7525a2cf6318b33c8414f6dbd807 (patch)
treec8535a6e6d06d19c1ce4ae0e4fb1d01ca47a7e62 /net/batman-adv/sysfs.c
parentbatman-adv: add blank line between declarations and the rest of the code (diff)
downloadlinux-2b64df20586d7525a2cf6318b33c8414f6dbd807.tar.xz
linux-2b64df20586d7525a2cf6318b33c8414f6dbd807.zip
batman-adv: remove semi-colon after macro definition
Reported by checkpatch with the following warning: "WARNING: macros should not use a trailing semicolon" Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/sysfs.c')
-rw-r--r--net/batman-adv/sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c
index f51b484abaa4..fc47baa888c5 100644
--- a/net/batman-adv/sysfs.c
+++ b/net/batman-adv/sysfs.c
@@ -108,7 +108,7 @@ struct batadv_attribute batadv_attr_vlan_##_name = { \
.mode = _mode }, \
.show = _show, \
.store = _store, \
-};
+}
/* Use this, if you have customized show and store functions */
#define BATADV_ATTR(_name, _mode, _show, _store) \
@@ -117,7 +117,7 @@ struct batadv_attribute batadv_attr_##_name = { \
.mode = _mode }, \
.show = _show, \
.store = _store, \
-};
+}
#define BATADV_ATTR_SIF_STORE_BOOL(_name, _post_func) \
ssize_t batadv_store_##_name(struct kobject *kobj, \