pccardctl: remove command which is not implemented
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
diff --git a/man/man8/pccardctl.8 b/man/man8/pccardctl.8
index 1554a0d..307cfd6 100644
--- a/man/man8/pccardctl.8
+++ b/man/man8/pccardctl.8
@@ -29,11 +29,6 @@
.B status
Display the current socket status flags.
.TP
-.B config
-Display the socket configuration, including power settings, interrupt
-and I/O window settings, and configuration registers.
-\-\-not yet implemented
-.TP
.B ident
Display card identification information, including product
identification strings, manufacturer ID codes, and function ID codes.
diff --git a/src/pccardctl.c b/src/pccardctl.c
index 2147989..c3df55d 100644
--- a/src/pccardctl.c
+++ b/src/pccardctl.c
@@ -390,7 +390,6 @@
"reset",
"info",
"status",
- "config",
"ident",
};
@@ -687,7 +686,6 @@
PCCARDCTL_RESET,
PCCARDCTL_INFO,
PCCARDCTL_STATUS,
- PCCARDCTL_CONFIG,
PCCARDCTL_IDENT,
NCMD
};
@@ -805,11 +803,6 @@
case PCCARDCTL_STATUS:
ret = pccardctl_status(cont);
break;
- default:
- fprintf(stderr,
- "command '%s' not yet handled by pccardctl\n",
- cmdname[cmd]);
- return -EAGAIN;
}
if (ret && socket_is_set)