diff options
author | Viktor Söderqvist <viktor.soderqvist@est.tech> | 2022-11-18 16:52:01 +0100 |
---|---|---|
committer | Viktor Söderqvist <viktor.soderqvist@est.tech> | 2023-01-11 10:25:01 +0100 |
commit | d4e9e0aebdc2c44c252e8ca27644b4392a6e820b (patch) | |
tree | 0655cc5b57819ada60b0eb543bad7baf188a9dfb /src/dict.c | |
parent | a67957ed98f2ffe34560b687ba7fa6f271e58b95 (diff) | |
download | redis-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.c | 5 |
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; |