diff options
author | Guilherme Andrade <[email protected]> | 2017-04-20 21:35:54 +0100 |
---|---|---|
committer | Guilherme Andrade <[email protected]> | 2017-04-20 21:51:16 +0100 |
commit | 1b37d0b010ea31b04b9d0a15d0bec9c75a013dc9 (patch) | |
tree | a543b013c074d8e763a31e0adf706f7cf922176a /erts/emulator/beam/utils.c | |
parent | 0835f40ae25f97360dc393928796387d3cd6b16e (diff) | |
download | otp-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.c | 10 |
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. |