Skip to content

Commit

Permalink
printk: fix unnecessary module_param_name.
Browse files Browse the repository at this point in the history
You don't need module_param_name if the name is the same!

Cc: Yanmin Zhang <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jan 12, 2012
1 parent f17dda9 commit 29d4d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ static int __init ignore_loglevel_setup(char *str)
}

early_param("ignore_loglevel", ignore_loglevel_setup);
module_param_named(ignore_loglevel, ignore_loglevel, bool, S_IRUGO | S_IWUSR);
module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(ignore_loglevel, "ignore loglevel setting, to"
"print all kernel messages to the console.");

Expand Down

0 comments on commit 29d4d6d

Please sign in to comment.