aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/utils.c
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2017-04-20 21:35:54 +0100
committerGuilherme Andrade <[email protected]>2017-04-20 21:51:16 +0100
commit1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9 (patch)
treea543b013c074d8e763a31e0adf706f7cf922176a /erts/emulator/beam/utils.c
parent0835f40ae25f97360dc393928796387d3cd6b16e (diff)
downloadotp-1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9.tar.gz
otp-1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9.tar.bz2
otp-1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9.zip
erts: Remove enif_phash2_ranged
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r--erts/emulator/beam/utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index 72c59b33c6..8f3f48f38f 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -1552,16 +1552,6 @@ make_hash2(Eterm term)
}
}
-Uint32
-make_hash2_within_range(Eterm term, Uint32 range)
-{
- Uint32 hash = make_hash2(term);
- if (range)
- return hash % range; /* [0..range-1] */
- else
- return hash; /* Special case: 2**32 */
-}
-
/* Term hash function for internal use.
*
* Limitation #1: Is not "portable" in any way between different VM instances.