summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/memcache.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/memcache.c b/source3/lib/memcache.c
index 5c4bafa17d..425861ed77 100644
--- a/source3/lib/memcache.c
+++ b/source3/lib/memcache.c
@@ -385,10 +385,6 @@ void memcache_flush(struct memcache *cache, enum memcache_number n)
node = next;
}
- if (node == NULL) {
- return;
- }
-
/*
* Then, find the leftmost element with number n
*/