aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@ksplice.com>2010-02-01 18:26:59 -0500
committerJiri Kosina <jkosina@suse.cz>2010-02-05 06:22:43 -0500
commit350f82586b7554240bee18c41cc5c842f63265ae (patch)
treede737c5b2c1b7f5c71bf3ab1797a6cb0027d59dc
parent7d9b48ea81ee49779b95ecd0df5a8c2789e4f836 (diff)
Remove redundant trailing semicolons from macros
Signed-off-by: Edward Z. Yang <ezyang@ksplice.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--kernel/params.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/params.c b/kernel/params.c
index cf1b69183127..2278ce244cf8 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -402,8 +402,8 @@ int param_get_string(char *buffer, struct kernel_param *kp)
402} 402}
403 403
404/* sysfs output in /sys/modules/XYZ/parameters/ */ 404/* sysfs output in /sys/modules/XYZ/parameters/ */
405#define to_module_attr(n) container_of(n, struct module_attribute, attr); 405#define to_module_attr(n) container_of(n, struct module_attribute, attr)
406#define to_module_kobject(n) container_of(n, struct module_kobject, kobj); 406#define to_module_kobject(n) container_of(n, struct module_kobject, kobj)
407 407
408extern struct kernel_param __start___param[], __stop___param[]; 408extern struct kernel_param __start___param[], __stop___param[];
409 409
@@ -421,7 +421,7 @@ struct module_param_attrs
421}; 421};
422 422
423#ifdef CONFIG_SYSFS 423#ifdef CONFIG_SYSFS
424#define to_param_attr(n) container_of(n, struct param_attribute, mattr); 424#define to_param_attr(n) container_of(n, struct param_attribute, mattr)
425 425
426static ssize_t param_attr_show(struct module_attribute *mattr, 426static ssize_t param_attr_show(struct module_attribute *mattr,
427 struct module *mod, char *buf) 427 struct module *mod, char *buf)