From: Rusty Russell Date: Thu, 12 Jan 2012 23:02:17 +0000 (+1030) Subject: printk: fix unnecessary module_param_name. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29d4d6df107b9d86982dc759f5b1ddfe2c6b29c0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git printk: fix unnecessary module_param_name. You don't need module_param_name if the name is the same! Cc: Yanmin Zhang Cc: Andrew Morton Signed-off-by: Rusty Russell --- 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.");