diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 03:02:17 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 03:02:17 +0400 |
commit | 29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0 (patch) | |
tree | 270450c3ad8de1b5164d671209ea92f13175660f | |
parent | f17dda94d48b654c793da6632f65654476291ba5 (diff) | |
download | linux-29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0.tar.xz |
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 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."); |