Simplify menu_cbs_init_bind_refresh

This commit is contained in:
twinaphex 2015-08-21 18:20:05 +02:00
parent f53dc8fc67
commit d405d34c0e

View File

@ -31,16 +31,7 @@ int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
if (!cbs)
return -1;
switch (label_hash)
{
case MENU_VALUE_MAIN_MENU:
cbs->action_refresh = NULL;
break;
default:
cbs->action_refresh = action_refresh_default;
break;
}
cbs->action_refresh = action_refresh_default;
return -1;
}