From 4f5e14211ff8238f62cb15186379b6b9ecffef51 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 16 Jun 2008 17:01:00 -0400 Subject: - remove map_data_unset_entry_key(), which isn't being used --- src/map.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/map.c') diff --git a/src/map.c b/src/map.c index 0e2c190..24686b0 100644 --- a/src/map.c +++ b/src/map.c @@ -723,22 +723,6 @@ map_data_unset_map_entry(struct plugin_state *state, } } -/* Remove the entry from the map which matches the passed-in key. */ -void -map_data_unset_entry_key(struct plugin_state *state, - const char *domain_name, - const char *map_name, - unsigned int key_len, - const char *key) -{ - struct map *map; - struct map_entry *entry; - map = map_data_find_map(state, domain_name, map_name); - entry = map_data_find_map_entry(state, map, key_len, key); - map_data_unset_map_entry(state, map, entry); - map->last_changed = time(NULL); -} - /* Remove the entry from the map which matches the passed-in ID. */ void map_data_unset_entry_id(struct plugin_state *state, -- cgit