summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Hash.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-02-02 18:21:20 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-02-02 18:21:20 +0000
commit9c21d003af3dc9654a9b302c3085253d55cab20e (patch)
treedda706ba5f40f789c0afc3c7cbf8554dcae5ce1a /Source/Core/Common/Src/Hash.cpp
parent9a975705bff532d3a81651145a08e056b0410f8d (diff)
Remove the global namespace a bit and remove some dead code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7043 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Hash.cpp')
-rw-r--r--Source/Core/Common/Src/Hash.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/Core/Common/Src/Hash.cpp b/Source/Core/Common/Src/Hash.cpp
index b7611e4e4e..f46ff08e83 100644
--- a/Source/Core/Common/Src/Hash.cpp
+++ b/Source/Core/Common/Src/Hash.cpp
@@ -89,22 +89,6 @@ u32 HashAdler32(const u8* data, size_t len)
return((b << 16) | a);
}
-
-// Another fast and decent hash
-u32 HashFNV(const u8* ptr, int length)
-{
- u32 hash = 0x811c9dc5;
-
- for (int i = 0; i < length; i++)
- {
- hash *= 1677761;
- hash ^= ptr[i];
- }
-
- return(hash);
-}
-
-
// Stupid hash - but can't go back now :)
// Don't use for new things. At least it's reasonably fast.
u32 HashEctor(const u8* ptr, int length)