Revert "mac_ddb: Make db_show_vnet_valid() handle !VIMAGE"

jhb@ already fixed this in a different way

Reported by: andrew

This reverts commit 3810b37903.
This commit is contained in:
Allan Jude 2022-07-21 14:26:54 +00:00
parent 3810b37903
commit e89841f893

View file

@ -196,7 +196,6 @@ db_show_rman_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
static int
db_show_vnet_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
{
#ifdef VIMAGE
VNET_ITERATOR_DECL(vnet);
if (!have_addr)
@ -208,9 +207,6 @@ db_show_vnet_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
}
return (EACCES);
#else
return (EOPNOTSUPP);
#endif
}
#endif