Commit 350f8258 authored by Edward Z. Yang's avatar Edward Z. Yang Committed by Jiri Kosina

Remove redundant trailing semicolons from macros

Signed-off-by: default avatarEdward Z. Yang <ezyang@ksplice.com>
Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 7d9b48ea
...@@ -402,8 +402,8 @@ int param_get_string(char *buffer, struct kernel_param *kp) ...@@ -402,8 +402,8 @@ int param_get_string(char *buffer, struct kernel_param *kp)
} }
/* sysfs output in /sys/modules/XYZ/parameters/ */ /* sysfs output in /sys/modules/XYZ/parameters/ */
#define to_module_attr(n) container_of(n, struct module_attribute, attr); #define to_module_attr(n) container_of(n, struct module_attribute, attr)
#define to_module_kobject(n) container_of(n, struct module_kobject, kobj); #define to_module_kobject(n) container_of(n, struct module_kobject, kobj)
extern struct kernel_param __start___param[], __stop___param[]; extern struct kernel_param __start___param[], __stop___param[];
...@@ -421,7 +421,7 @@ struct module_param_attrs ...@@ -421,7 +421,7 @@ struct module_param_attrs
}; };
#ifdef CONFIG_SYSFS #ifdef CONFIG_SYSFS
#define to_param_attr(n) container_of(n, struct param_attribute, mattr); #define to_param_attr(n) container_of(n, struct param_attribute, mattr)
static ssize_t param_attr_show(struct module_attribute *mattr, static ssize_t param_attr_show(struct module_attribute *mattr,
struct module *mod, char *buf) struct module *mod, char *buf)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment