[Xenomai-git] Philippe Gerum : cobalt/kernel: drop pointless parameter descriptions

2015-04-16 Thread git repository hosting
Module: xenomai-3
Branch: master
Commit: a7503576b0f70c774ca5008aee481841f3aff920
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a7503576b0f70c774ca5008aee481841f3aff920

Author: Philippe Gerum r...@xenomai.org
Date:   Wed Mar 25 09:47:30 2015 +0100

cobalt/kernel: drop pointless parameter descriptions

The relevant code is statically built into the kernel, so there is no
point in preparing for modinfo to pull this documentation.

---

 kernel/cobalt/arch/x86/smi.c  |1 -
 kernel/cobalt/posix/process.c |1 -
 kernel/cobalt/sched.c |1 -
 3 files changed, 3 deletions(-)

diff --git a/kernel/cobalt/arch/x86/smi.c b/kernel/cobalt/arch/x86/smi.c
index 6caedef..7f7c9fd 100644
--- a/kernel/cobalt/arch/x86/smi.c
+++ b/kernel/cobalt/arch/x86/smi.c
@@ -44,7 +44,6 @@ module_param_string(smi, smi_state_arg, 
sizeof(smi_state_arg), 0444);
 
 static unsigned int smi_masked_bits = 1; /* Global disable bit */
 module_param_named(smi_mask, smi_masked_bits, int, 0400);
-MODULE_PARM_DESC(smi_mask, Set of bits to mask in the SMI control register);
 
 static unsigned int smi_saved_bits;
 static unsigned short smi_en_addr;
diff --git a/kernel/cobalt/posix/process.c b/kernel/cobalt/posix/process.c
index 3fb644a..bf684a8 100644
--- a/kernel/cobalt/posix/process.c
+++ b/kernel/cobalt/posix/process.c
@@ -73,7 +73,6 @@
 
 static int gid_arg = -1;
 module_param_named(allowed_group, gid_arg, int, 0644);
-MODULE_PARM_DESC(allowed_group, GID of the group with access to Xenomai 
services);
 
 static DEFINE_MUTEX(personality_lock);
 
diff --git a/kernel/cobalt/sched.c b/kernel/cobalt/sched.c
index f57570e..d394ce8 100644
--- a/kernel/cobalt/sched.c
+++ b/kernel/cobalt/sched.c
@@ -91,7 +91,6 @@ void xnsched_register_classes(void)
 
 static unsigned long wd_timeout_arg = CONFIG_XENO_OPT_WATCHDOG_TIMEOUT;
 module_param_named(watchdog_timeout, wd_timeout_arg, ulong, 0644);
-MODULE_PARM_DESC(watchdog_timeout, Watchdog timeout (s));
 
 /**
  * @internal


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/kernel: drop pointless parameter descriptions

2015-03-25 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: a7503576b0f70c774ca5008aee481841f3aff920
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a7503576b0f70c774ca5008aee481841f3aff920

Author: Philippe Gerum r...@xenomai.org
Date:   Wed Mar 25 09:47:30 2015 +0100

cobalt/kernel: drop pointless parameter descriptions

The relevant code is statically built into the kernel, so there is no
point in preparing for modinfo to pull this documentation.

---

 kernel/cobalt/arch/x86/smi.c  |1 -
 kernel/cobalt/posix/process.c |1 -
 kernel/cobalt/sched.c |1 -
 3 files changed, 3 deletions(-)

diff --git a/kernel/cobalt/arch/x86/smi.c b/kernel/cobalt/arch/x86/smi.c
index 6caedef..7f7c9fd 100644
--- a/kernel/cobalt/arch/x86/smi.c
+++ b/kernel/cobalt/arch/x86/smi.c
@@ -44,7 +44,6 @@ module_param_string(smi, smi_state_arg, 
sizeof(smi_state_arg), 0444);
 
 static unsigned int smi_masked_bits = 1; /* Global disable bit */
 module_param_named(smi_mask, smi_masked_bits, int, 0400);
-MODULE_PARM_DESC(smi_mask, Set of bits to mask in the SMI control register);
 
 static unsigned int smi_saved_bits;
 static unsigned short smi_en_addr;
diff --git a/kernel/cobalt/posix/process.c b/kernel/cobalt/posix/process.c
index 3fb644a..bf684a8 100644
--- a/kernel/cobalt/posix/process.c
+++ b/kernel/cobalt/posix/process.c
@@ -73,7 +73,6 @@
 
 static int gid_arg = -1;
 module_param_named(allowed_group, gid_arg, int, 0644);
-MODULE_PARM_DESC(allowed_group, GID of the group with access to Xenomai 
services);
 
 static DEFINE_MUTEX(personality_lock);
 
diff --git a/kernel/cobalt/sched.c b/kernel/cobalt/sched.c
index f57570e..d394ce8 100644
--- a/kernel/cobalt/sched.c
+++ b/kernel/cobalt/sched.c
@@ -91,7 +91,6 @@ void xnsched_register_classes(void)
 
 static unsigned long wd_timeout_arg = CONFIG_XENO_OPT_WATCHDOG_TIMEOUT;
 module_param_named(watchdog_timeout, wd_timeout_arg, ulong, 0644);
-MODULE_PARM_DESC(watchdog_timeout, Watchdog timeout (s));
 
 /**
  * @internal


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git