aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map.c b/src/map.c
index 300f2eb83..b37082bd0 100644
--- a/src/map.c
+++ b/src/map.c
@@ -1044,14 +1044,6 @@ start_map_watch (void)
void
remove_all_maps (void)
{
- GList *cur = maps;
- struct rspamd_map *map;
-
- /* First of all do synced read of data */
- while (cur) {
- map = cur->data;
- cur = g_list_next (cur);
- }
g_list_free (maps);
maps = NULL;
if (map_pool != NULL) {