These have been around since the import to git, doing nothing. There are
no users that I can see, the manual page does not list them and the
shell completions (fish and bash lack any for insmod, zsh has one) don't
suggest it either.
Remove them.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/138
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
#include "kmod.h"
-static const char cmdopts_s[] = "psfVh";
+static const char cmdopts_s[] = "fVh";
static const struct option cmdopts[] = {
{"version", no_argument, 0, 'V'},
{"help", no_argument, 0, 'h'},
if (c == -1)
break;
switch (c) {
- case 'p':
- case 's':
- /* ignored, for compatibility only */
- break;
case 'f':
flags |= KMOD_PROBE_FORCE_MODVERSION;
flags |= KMOD_PROBE_FORCE_VERMAGIC;