diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2016-05-23 19:23:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:04:14 -0400 |
commit | facb9ec5e6e376c25a00bb7a64332287c7a1403c (patch) | |
tree | a7849c3a596f58939b858b2140ddebbd11e28c12 /fs/nilfs2/sysfs.c | |
parent | 4ad364ca1ce3f4f96e04aaeb7974de4380eb6004 (diff) |
nilfs2: clean trailing semicolons in macros
Remove trailing semicolons from macros, as suggested by checkpatch.pl.
Link: http://lkml.kernel.org/r/1461935747-10380-12-git-send-email-konishi.ryusuke@lab.ntt.co.jp
[konishi.ryusuke@lab.ntt.co.jp: fix style issues]
Link: http://lkml.kernel.org/r/20160509.231703.1481729973362188932.konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/sysfs.c')
-rw-r--r-- | fs/nilfs2/sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/sysfs.c b/fs/nilfs2/sysfs.c index bbb0dcc35905..3e7d85335adf 100644 --- a/fs/nilfs2/sysfs.c +++ b/fs/nilfs2/sysfs.c | |||
@@ -68,7 +68,7 @@ static ssize_t nilfs_##name##_attr_store(struct kobject *kobj, \ | |||
68 | static const struct sysfs_ops nilfs_##name##_attr_ops = { \ | 68 | static const struct sysfs_ops nilfs_##name##_attr_ops = { \ |
69 | .show = nilfs_##name##_attr_show, \ | 69 | .show = nilfs_##name##_attr_show, \ |
70 | .store = nilfs_##name##_attr_store, \ | 70 | .store = nilfs_##name##_attr_store, \ |
71 | }; | 71 | } |
72 | 72 | ||
73 | #define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \ | 73 | #define NILFS_DEV_INT_GROUP_TYPE(name, parent_name) \ |
74 | static void nilfs_##name##_attr_release(struct kobject *kobj) \ | 74 | static void nilfs_##name##_attr_release(struct kobject *kobj) \ |
@@ -84,7 +84,7 @@ static struct kobj_type nilfs_##name##_ktype = { \ | |||
84 | .default_attrs = nilfs_##name##_attrs, \ | 84 | .default_attrs = nilfs_##name##_attrs, \ |
85 | .sysfs_ops = &nilfs_##name##_attr_ops, \ | 85 | .sysfs_ops = &nilfs_##name##_attr_ops, \ |
86 | .release = nilfs_##name##_attr_release, \ | 86 | .release = nilfs_##name##_attr_release, \ |
87 | }; | 87 | } |
88 | 88 | ||
89 | #define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \ | 89 | #define NILFS_DEV_INT_GROUP_FNS(name, parent_name) \ |
90 | static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \ | 90 | static int nilfs_sysfs_create_##name##_group(struct the_nilfs *nilfs) \ |