Skip to content

Commit 2b64df2

Browse files
committed
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>
1 parent f138694 commit 2b64df2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎net/batman-adv/debugfs.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ struct batadv_debuginfo batadv_debuginfo_##_name = { \
342342
.llseek = seq_lseek, \
343343
.release = single_release, \
344344
} \
345-
};
345+
}
346346

347347
/* the following attributes are general and therefore they will be directly
348348
* placed in the BATADV_DEBUGFS_SUBDIR subdirectory of debugfs
@@ -404,7 +404,7 @@ struct batadv_debuginfo batadv_hardif_debuginfo_##_name = { \
404404
.llseek = seq_lseek, \
405405
.release = single_release, \
406406
}, \
407-
};
407+
}
408408
static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
409409
batadv_originators_hardif_open);
410410

‎net/batman-adv/sysfs.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct batadv_attribute batadv_attr_vlan_##_name = { \
108108
.mode = _mode }, \
109109
.show = _show, \
110110
.store = _store, \
111-
};
111+
}
112112

113113
/* Use this, if you have customized show and store functions */
114114
#define BATADV_ATTR(_name, _mode, _show, _store) \
@@ -117,7 +117,7 @@ struct batadv_attribute batadv_attr_##_name = { \
117117
.mode = _mode }, \
118118
.show = _show, \
119119
.store = _store, \
120-
};
120+
}
121121

122122
#define BATADV_ATTR_SIF_STORE_BOOL(_name, _post_func) \
123123
ssize_t batadv_store_##_name(struct kobject *kobj, \

0 commit comments

Comments
 (0)