Remove "rmmod -w" documentation and getopt entry
authorStephen Kitt <steve@sk2.org>
Sun, 26 Jan 2014 20:00:23 +0000 (18:00 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 26 Jan 2014 20:00:23 +0000 (18:00 -0200)
This patch removes the cmdopts declaration and the documentation. They
were leftover from the -w removal.

man/rmmod.xml
tools/rmmod.c

index d9a6295..14c94dd 100644 (file)
@@ -39,7 +39,6 @@
     <cmdsynopsis>
       <command>rmmod</command>
       <arg><option>-f</option></arg>
-      <arg><option>-w</option></arg>
       <arg><option>-s</option></arg>
       <arg><option>-v</option></arg>
       <arg><replaceable>modulename</replaceable></arg>
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term><option>-w</option> <option>--wait</option>
-        </term>
-        <listitem>
-          <para>
-            Normally, <command>rmmod</command> will refuse to unload modules
-            which are in use.  With this option, <command>rmmod</command> 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
-            <citerefentry>
-              <refentrytitle>lsmod</refentrytitle><manvolnum>8</manvolnum>
-            </citerefentry>) for information on usage counts.
-          </para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
         <term>
           <option>-s</option>
         </term>
index fd0fac5..df2f041 100644 (file)
@@ -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}
 };