This check was needed due to the use "unsigned long long" as bitmap
which was refactored recently.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tools/vsh.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/vsh.c b/tools/vsh.c
index 30cbf4c0dc..3cd9202a8a 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -327,11 +327,6 @@ vshCmddefCheckInternals(vshControl *ctl,
for (i = 0; cmd->opts[i].name; i++) {
const vshCmdOptDef *opt = &cmd->opts[i];
- if (i > 63) {
- vshError(ctl, "command '%s' has too many options",
cmd->name);
- return -1; /* too many options */
- }
-
if (missingCompleters && !opt->completer) {
switch (opt->type) {
case VSH_OT_STRING:
--
2.44.0