summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorViktor Söderqvist <viktor.soderqvist@est.tech>2022-11-18 16:52:01 +0100
committerViktor Söderqvist <viktor.soderqvist@est.tech>2023-01-11 10:25:01 +0100
commitd4e9e0aebdc2c44c252e8ca27644b4392a6e820b (patch)
tree0655cc5b57819ada60b0eb543bad7baf188a9dfb /src/dict.c
parenta67957ed98f2ffe34560b687ba7fa6f271e58b95 (diff)
downloadredis-d4e9e0aebdc2c44c252e8ca27644b4392a6e820b.tar.gz
activeDefragSdsDict use scan instead of iterator and drop dictSetNext
Also delete unused function activeDefragSdsListAndDict
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dict.c b/src/dict.c
index 418c42bbb..193f619b7 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -647,11 +647,6 @@ double dictIncrDoubleVal(dictEntry *de, double val) {
return de->v.d += val;
}
-/* Only used when the next in hash bucket has been reallocated. */
-void dictSetNext(dictEntry *de, dictEntry *next) {
- de->next = next;
-}
-
/* A pointer to the metadata section within the dict entry. */
void *dictMetadata(dictEntry *de) {
return &de->metadata;