From 6dcef65dba1713a3ac7e838b228931d52a48e8cd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 12 Oct 2014 04:43:43 +0200 Subject: [PATCH] Get rid of menu_parse_check function call in menu_action_ok --- frontend/menu/backend/menu_common_backend.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/frontend/menu/backend/menu_common_backend.c b/frontend/menu/backend/menu_common_backend.c index fd0550c802..699b50cea0 100644 --- a/frontend/menu/backend/menu_common_backend.c +++ b/frontend/menu/backend/menu_common_backend.c @@ -750,16 +750,6 @@ static int menu_action_ok(const char *menu_path, if (cbs && cbs->action_ok) return cbs->action_ok(path, label, type, driver.menu->selection_ptr); - /* TODO - can we get rid of this now? */ - if (menu_parse_check(label, type) == 0) - { - char cat_path[PATH_MAX]; - fill_pathname_join(cat_path, menu_path, path, sizeof(cat_path)); - - menu_entries_push(driver.menu->menu_stack, - cat_path, menu_label, type, driver.menu->selection_ptr); - } - return 0; }