aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-27 15:06:20 -0800
committerChris Robinson <[email protected]>2018-01-27 19:04:32 -0800
commit4d1795e90b83f040aa59cf69616a4ff2b32bf71a (patch)
tree17cc702d975ad97ae9db441e0aba52bce6289fd3 /common
parent277127829a0f8898044f508cb3093a7abce11e19 (diff)
Remove an unused function
Diffstat (limited to 'common')
-rw-r--r--common/uintmap.c5
-rw-r--r--common/uintmap.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/common/uintmap.c b/common/uintmap.c
index 98ed3191..be628a5f 100644
--- a/common/uintmap.c
+++ b/common/uintmap.c
@@ -36,11 +36,6 @@ void ResetUIntMap(UIntMap *map)
WriteUnlock(&map->lock);
}
-void RelimitUIntMapNoLock(UIntMap *map, ALsizei limit)
-{
- map->limit = limit;
-}
-
ALenum InsertUIntMapEntry(UIntMap *map, ALuint key, ALvoid *value)
{
ALsizei pos = 0;
diff --git a/common/uintmap.h b/common/uintmap.h
index 3adc66c4..32cd1eaa 100644
--- a/common/uintmap.h
+++ b/common/uintmap.h
@@ -25,7 +25,6 @@ typedef struct UIntMap {
void InitUIntMap(UIntMap *map, ALsizei limit);
void ResetUIntMap(UIntMap *map);
-void RelimitUIntMapNoLock(UIntMap *map, ALsizei limit);
ALenum InsertUIntMapEntry(UIntMap *map, ALuint key, ALvoid *value);
ALenum InsertUIntMapEntryNoLock(UIntMap *map, ALuint key, ALvoid *value);
ALvoid *RemoveUIntMapKey(UIntMap *map, ALuint key);