From bfef3b6191c82fcdf365a001d8fe12fcc5495a60 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 20 Mar 2016 17:52:30 +0100 Subject: [PATCH] Get rid of unused file_list_get_entry_index --- libretro-common/include/lists/file_list.h | 2 -- libretro-common/lists/file_list.c | 9 --------- 2 files changed, 11 deletions(-) diff --git a/libretro-common/include/lists/file_list.h b/libretro-common/include/lists/file_list.h index a50dbe8ba7..74bf822721 100644 --- a/libretro-common/include/lists/file_list.h +++ b/libretro-common/include/lists/file_list.h @@ -79,8 +79,6 @@ void *file_list_get_last_actiondata(const file_list_t *list); size_t file_list_get_size(const file_list_t *list); -size_t file_list_get_entry_index(const file_list_t *list); - size_t file_list_get_directory_ptr(const file_list_t *list); void file_list_get_at_offset(const file_list_t *list, size_t index, diff --git a/libretro-common/lists/file_list.c b/libretro-common/lists/file_list.c index 77c8e6f854..4a515f5cf6 100644 --- a/libretro-common/lists/file_list.c +++ b/libretro-common/lists/file_list.c @@ -94,15 +94,6 @@ size_t file_list_get_size(const file_list_t *list) return list->size; } -size_t file_list_get_entry_index(const file_list_t *list) -{ - size_t size = 0; - if (!list) - return 0; - size = file_list_get_size(list); - return list->list[size].entry_idx; -} - size_t file_list_get_directory_ptr(const file_list_t *list) { size_t size = file_list_get_size(list);