From abf0e3b4ddb0c7348492309f8ccccdcafba91b2f Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Sun, 26 Jan 2014 18:00:23 -0200 Subject: [PATCH 01/10] Remove "rmmod -w" documentation and getopt entry This patch removes the cmdopts declaration and the documentation. They were leftover from the -w removal. Patch-mainline: v17 Git-commit: a4bd1441e5c7e8903a9ae065801d4f06f13d06e9 [mmarek: regenerated man/rmmod.8] --- man/rmmod.8 | 12 +----------- man/rmmod.xml | 17 ----------------- tools/rmmod.c | 1 - 3 files changed, 1 insertion(+), 29 deletions(-) diff --git a/man/rmmod.8 b/man/rmmod.8 index cd97efa..e5d879a 100644 --- a/man/rmmod.8 +++ b/man/rmmod.8 @@ -31,7 +31,7 @@ rmmod \- Simple program to remove a module from the Linux Kernel .SH "SYNOPSIS" .HP \w'\fBrmmod\fR\ 'u -\fBrmmod\fR [\fB\-f\fR] [\fB\-w\fR] [\fB\-s\fR] [\fB\-v\fR] [\fImodulename\fR] +\fBrmmod\fR [\fB\-f\fR] [\fB\-s\fR] [\fB\-v\fR] [\fImodulename\fR] .SH "DESCRIPTION" .PP \fBrmmod\fR @@ -55,16 +55,6 @@ This option can be extremely dangerous: it has no effect unless CONFIG_MODULE_FO \fBlsmod\fR(8))\&. .RE .PP -\fB\-w\fR \fB\-\-wait\fR -.RS 4 -Normally, -\fBrmmod\fR -will refuse to unload modules which are in use\&. With this option, -\fBrmmod\fR -will isolate the module, and wait until the module is no longer used\&. Nothing new will be able to use the module, but it\*(Aqs up to you to make sure the current users eventually finish with it\&. See -\fBlsmod\fR(8)) for information on usage counts\&. -.RE -.PP \fB\-s\fR, \fB\-\-syslog\fR .RS 4 Send errors to syslog instead of standard error\&. diff --git a/man/rmmod.xml b/man/rmmod.xml index 3605068..5023fb0 100644 --- a/man/rmmod.xml +++ b/man/rmmod.xml @@ -39,7 +39,6 @@ rmmod - modulename @@ -94,22 +93,6 @@ - - - - - Normally, rmmod will refuse to unload modules - which are in use. With this option, rmmod will - isolate the module, and wait until the module is no longer used. - Nothing new will be able to use the module, but it's up to you to - make sure the current users eventually finish with it. See - - lsmod8 - ) for information on usage counts. - - - - diff --git a/tools/rmmod.c b/tools/rmmod.c index fd0fac5..df2f041 100644 --- a/tools/rmmod.c +++ b/tools/rmmod.c @@ -40,7 +40,6 @@ static const struct option cmdopts[] = { {"syslog", no_argument, 0, 's'}, {"verbose", no_argument, 0, 'v'}, {"version", no_argument, 0, 'V'}, - {"wait", no_argument, 0, 'w'}, {"help", no_argument, 0, 'h'}, {NULL, 0, 0, 0} }; -- 1.8.4.5