summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c14
-rw-r--r--modutils/rmmod.c12
2 files changed, 2 insertions, 24 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 97c360b..9daedf9 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -70,7 +70,7 @@
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
-#ident "$Id: insmod.c,v 1.17 2000/07/14 16:23:32 proski Exp $"
+#ident "$Id: insmod.c,v 1.18 2000/07/16 20:57:15 kraai Exp $"
/* This file contains the structures used by the 2.0 and 2.1 kernels.
We do not use the kernel headers directly because we do not wish
@@ -276,7 +276,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
-#ident "$Id: insmod.c,v 1.17 2000/07/14 16:23:32 proski Exp $"
+#ident "$Id: insmod.c,v 1.18 2000/07/16 20:57:15 kraai Exp $"
/* The relocatable object is manipulated using elfin types. */
@@ -560,16 +560,6 @@ _syscall2(unsigned long, create_module, const char *, name, size_t, size)
#endif
static char m_filename[BUFSIZ + 1] = "\0";
static char m_fullName[BUFSIZ + 1] = "\0";
-static const char insmod_usage[] =
- "insmod [OPTION]... MODULE [symbol=value]...\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nLoads the specified kernel modules into the kernel.\n\n"
- "Options:\n"
- "\t-f\tForce module to load into the wrong kernel version.\n"
- "\t-k\tMake module autoclean-able.\n"
- "\t-v\tverbose output\n" "\t-x\tdo not export externs\n"
-#endif
-;
/*======================================================================*/
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 3158686..da10b7f 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -32,18 +32,6 @@
/* And the system call of the day is... */
_syscall1(int, delete_module, const char *, name)
-
-static const char rmmod_usage[] =
- "rmmod [OPTION]... [MODULE]...\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nUnloads the specified kernel modules from the kernel.\n\n"
- "Options:\n"
- "\t-a\tTry to remove all unused kernel modules.\n"
-#endif
- ;
-
-
-
extern int rmmod_main(int argc, char **argv)
{
if (argc <= 1) {