From a076152ec7b1862da47c8f3a36716e1f59faf7d7 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 5 May 2025 14:23:23 -0400 Subject: [PATCH] MT#62181 RegisterCache: remove unused functions Change-Id: I5cda79469b230a6d849c64aac371ae0b5a77c55f --- apps/sbc/RegisterCache.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/apps/sbc/RegisterCache.cpp b/apps/sbc/RegisterCache.cpp index 75c0efe0..36c8ff11 100644 --- a/apps/sbc/RegisterCache.cpp +++ b/apps/sbc/RegisterCache.cpp @@ -18,22 +18,6 @@ using std::lock_guard; #define REG_CACHE_CYCLE 10L /* 10 seconds to expire all buckets */ -static unsigned int hash_1str(const string& str) -{ - unsigned int h=0; - h = hashlittle(str.c_str(),str.length(),h); - return h & (REG_CACHE_TABLE_ENTRIES-1); -} - -static unsigned int hash_2str_1int(const string& str1, const string& str2, - unsigned int i) -{ - unsigned int h=i; - h = hashlittle(str1.c_str(),str1.length(),h); - h = hashlittle(str2.c_str(),str2.length(),h); - return h & (REG_CACHE_TABLE_ENTRIES-1); -} - static string unescape_sip(const string& str) { // TODO