From 2a6af87d2320cd695e92c7db279d04786f39a897 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 25 Feb 2018 00:28:31 +0100 Subject: [PATCH] Remove unused function --- menu/menu_entries.c | 14 -------------- menu/menu_entries.h | 2 -- 2 files changed, 16 deletions(-) diff --git a/menu/menu_entries.c b/menu/menu_entries.c index fbabad7074..d0aeb5f5fc 100644 --- a/menu/menu_entries.c +++ b/menu/menu_entries.c @@ -213,20 +213,6 @@ int menu_entries_get_core_name(char *s, size_t len) return 0; } -bool menu_entries_current_core_is_no_core(void) -{ - char corename[255]; - const char *no_core_str = NULL; - - corename[0] = '\0'; - - menu_entries_get_core_name(corename, sizeof(corename)); - - no_core_str = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_CORE); - - return string_is_equal(corename, no_core_str); -} - /* Sets 's' to the name of the current core * (shown at the top of the UI). */ int menu_entries_get_core_title(char *s, size_t len) diff --git a/menu/menu_entries.h b/menu/menu_entries.h index e20616982a..48679b825e 100644 --- a/menu/menu_entries.h +++ b/menu/menu_entries.h @@ -115,8 +115,6 @@ typedef struct menu_file_list_cbs int menu_entries_get_title(char *title, size_t title_len); -bool menu_entries_current_core_is_no_core(void); - int menu_entries_get_core_title(char *title_msg, size_t title_msg_len); int menu_entries_get_core_name(char *s, size_t len);