summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-08-05 21:08:00 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-08-05 21:08:00 -0700
commit54d7417b4ba9fe1ef1e7d4f9f7ca08cb4c19d679 (patch)
treea759feb766f5d3cb39b0105386aafd65720b7acd /kernel
parenta28f7306905227c9e64956c01c8da647184606d5 (diff)
MODULE: delete local static copy of param_set_byte as we now have a real version of it.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/module.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/kernel/module.c b/kernel/module.c
index dfe295ecf2f1..aa91a98ffb0b 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -725,19 +725,6 @@ static inline int sysfs_unload_setup(struct module *mod)
#endif /* CONFIG_MODULE_UNLOAD */
#ifdef CONFIG_OBSOLETE_MODPARM
-static int param_set_byte(const char *val, struct kernel_param *kp)
-{
- char *endp;
- long l;
-
- if (!val) return -EINVAL;
- l = simple_strtol(val, &endp, 0);
- if (endp == val || *endp || ((char)l != l))
- return -EINVAL;
- *((char *)kp->arg) = l;
- return 0;
-}
-
/* Bounds checking done below */
static int obsparm_copy_string(const char *val, struct kernel_param *kp)
{