diff --git a/menu/menu_list.c b/menu/menu_list.c index c6c36e4fb1..4bd4a3486a 100644 --- a/menu/menu_list.c +++ b/menu/menu_list.c @@ -339,13 +339,8 @@ end: void menu_list_clear(file_list_t *list) { - driver_t *driver = driver_get_ptr(); - if (!driver->menu_ctx) - goto end; - menu_driver_list_clear(list); -end: if (list) file_list_clear(list); }