summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAndreas Schmidt <andreas.schmidt@wago.com>2018-10-11 15:10:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-17 12:26:14 +0100
commitc9b2899f6d2f5d9a2321b53c6a9e4158756a1a74 (patch)
tree444b6c6cd4a38f49bcf4907162b62d7be3eb4eab /commands
parentbba1bd47b509f1347d1a383ec75f2d8368555ee4 (diff)
downloadbarebox-c9b2899f6d2f5d9a2321b53c6a9e4158756a1a74.tar.gz
commands: miitool: remove unsupported options a and b
Signed-off-by: Andreas Schmidt <andreas.schmidt@wago.com>
Diffstat (limited to 'commands')
-rw-r--r--commands/miitool.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/commands/miitool.c b/commands/miitool.c
index acf6142..4ea6fda 100644
--- a/commands/miitool.c
+++ b/commands/miitool.c
@@ -281,12 +281,6 @@ static int do_miitool(int argc, char *argv[])
while ((opt = getopt(argc, argv, "vs:r:")) > 0) {
switch (opt) {
- case 'a':
- addr = simple_strtol(optarg, NULL, 0);
- break;
- case 'b':
- bus = simple_strtoul(optarg, NULL, 0);
- break;
case 's':
action = MIITOOL_SHOW;
phydevname = xstrdup(optarg);