diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 09:32:17 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 09:32:17 +1030 |
commit | 29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0 (patch) | |
tree | 270450c3ad8de1b5164d671209ea92f13175660f | |
parent | f17dda94d48b654c793da6632f65654476291ba5 (diff) | |
download | op-kernel-dev-29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0.zip op-kernel-dev-29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0.tar.gz |
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>
-rw-r--r-- | kernel/printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 989e4a5..63b3bc3 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."); |