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>
This commit is contained in:
@@ -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, \
|
||||
|
Reference in New Issue
Block a user