summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/nc-cui.c')
-rw-r--r--ui/ncurses/nc-cui.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index 8555848..33a9f73 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -113,10 +113,6 @@ static int cui_boot(struct pmenu_item *item)
assert(cui->current == &cui->main->scr);
pb_log("%s: %s\n", __func__, cod->name);
- if (!cod->opt) {
- pb_log("%s: missing opt?\n", __func__);
- return -1;
- }
nc_scr_status_printf(cui->current, "Booting %s...", cod->name);
OpenPOWER on IntegriCloud