From 169944afdfa328351a327cb3862dca2252d6a3f9 Mon Sep 17 00:00:00 2001
From: Jeff Sharkey <jsharkey@android.com>
Date: Fri, 26 Jun 2015 09:43:52 -0700
Subject: [PATCH] Remove unused methods to fix build.

Change-Id: I6e1f85a7cc3428d558460737da3b3193d035b73e
---
 sdcard/sdcard.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index 309184155a..a136232e26 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);
 
-- 
GitLab