Remove unused code for the ked return status ked_boot.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
{
struct cui *cui = cui_from_arg(ked->scr.ui_ctx);
- if (ked_result == ked_update || ked_result == ked_boot) {
+ if (ked_result == ked_update) {
struct pmenu_item *i = pmenu_find_selected(cui->main);
struct cui_opt_data *cod = cod_from_item(i);
cui_set_current(cui, &cui->main->scr);
talloc_free(ked);
-
- if (ked_result == ked_boot) {
- struct pmenu_item *i = pmenu_find_selected(cui->main);
- i->on_execute(i);
- }
}
int cui_ked_run(struct pmenu_item *item)
* enum ked_result - Result code for ked:on_exit().
* @ked_cancel: The user canceled the operation.
* @ked_update: The args were updated.
- * @ked_boot: The user requested a boot of this item.
*/
enum ked_result {
ked_cancel,
ked_update,
- ked_boot,
};
/**