summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-01-13 00:02:17 +0100
committerRusty Russell <rusty@rustcorp.com.au>2012-01-13 00:02:17 +0100
commit29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0 (patch)
tree270450c3ad8de1b5164d671209ea92f13175660f /kernel/printk.c
parentlirc_parallel: fix module parameter description. (diff)
downloadlinux-29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0.tar.xz
linux-29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0.zip
printk: fix unnecessary module_param_name.
You don't need module_param_name if the name is the same! Cc: Yanmin Zhang <yanmin_zhang@linux.intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 989e4a52da76..63b3bc31fe32 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -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.");