From: Emil Velikov Date: Wed, 18 Sep 2024 15:49:08 +0000 (+0100) Subject: tools/rmmod: remove unused -w shortopt X-Git-Tag: v34~318 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=519621b7e2cdfe9513ba52a63bd9a40b3ddd0839;p=thirdparty%2Fkmod.git tools/rmmod: remove unused -w shortopt The (long)option and handling was removed some 10 years ago, yet the shortopt remained... oops Fixes: a4bd144 ("Remove "rmmod -w" documentation and getopt entry") Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/138 Signed-off-by: Lucas De Marchi --- diff --git a/tools/rmmod.c b/tools/rmmod.c index 9761aefe..812e54ec 100644 --- a/tools/rmmod.c +++ b/tools/rmmod.c @@ -24,7 +24,7 @@ static int verbose = DEFAULT_VERBOSE; static int use_syslog; -static const char cmdopts_s[] = "fsvVwh"; +static const char cmdopts_s[] = "fsvVh"; static const struct option cmdopts[] = { // clang-format off { "force", no_argument, 0, 'f' },