diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 309184155a5fd5e26a641661456365e9156aee28..a136232e26e5bc485ec0ca312a9bd4a21dc7a49e 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -184,14 +184,6 @@ static bool str_icase_equals(void *keyA, void *keyB) { return strcasecmp(keyA, keyB) == 0; } -static int int_hash(void *key) { - return (int) (uintptr_t) key; -} - -static bool int_equals(void *keyA, void *keyB) { - return keyA == keyB; -} - /* Global data for all FUSE mounts */ struct fuse_global { pthread_mutex_t lock; @@ -1564,12 +1556,6 @@ static bool remove_str_to_int(void *key, void *value, void *context) { return true; } -static bool remove_int_to_null(void *key, void *value, void *context) { - Hashmap* map = context; - hashmapRemove(map, key); - return true; -} - static int read_package_list(struct fuse_global* global) { pthread_mutex_lock(&global->lock);