Get rid of more unnecessary hashing

This commit is contained in:
twinaphex 2018-02-25 18:07:29 +01:00
parent 366a1d58f8
commit b4a9ac37ff
2 changed files with 0 additions and 4 deletions

View File

@ -4079,8 +4079,6 @@ bool menu_displaylist_process(menu_displaylist_info_t *info)
MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE,
MENU_INFO_MESSAGE, 0, 0);
if (!string_is_empty(info->label))
info->label_hash = msg_hash_calculate(info->label);
menu_driver_populate_entries(info);
ui_companion_driver_notify_list_loaded(info->list, info->menu_list);
}
@ -4126,7 +4124,6 @@ void menu_displaylist_info_init(menu_displaylist_info_t *info)
info->type = 0;
info->type_default = 0;
info->flags = 0;
info->label_hash = 0;
info->directory_ptr = 0;
info->label = NULL;
info->path = NULL;

View File

@ -194,7 +194,6 @@ typedef struct menu_displaylist_info
unsigned type;
unsigned type_default;
unsigned flags;
uint32_t label_hash;
size_t directory_ptr;
file_list_t *list;
file_list_t *menu_list;