summaryrefslogtreecommitdiffstats
path: root/sdcard
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-06-26 09:43:52 -0700
committerJeff Sharkey <jsharkey@android.com>2015-06-26 09:43:52 -0700
commit169944afdfa328351a327cb3862dca2252d6a3f9 (patch)
tree375f0ae76b037742ead1dd3dd50cb97f9bfcc8bb /sdcard
parentf38f29c87d97cea45d04b783bddbd969234b1030 (diff)
downloadsystem_core-169944afdfa328351a327cb3862dca2252d6a3f9.zip
system_core-169944afdfa328351a327cb3862dca2252d6a3f9.tar.gz
system_core-169944afdfa328351a327cb3862dca2252d6a3f9.tar.bz2
Remove unused methods to fix build.
Change-Id: I6e1f85a7cc3428d558460737da3b3193d035b73e
Diffstat (limited to 'sdcard')
-rw-r--r--sdcard/sdcard.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index 3091841..a136232 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);