From 96207912cb4a4073849be95458a4e4e2d54bbb34 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 24 Dec 2009 13:51:50 +0100 Subject: s3: Remove unused delete_negative_conn_cache() --- source3/libsmb/conncache.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/conncache.c b/source3/libsmb/conncache.c index 1ec303f184..46dc6d6364 100644 --- a/source3/libsmb/conncache.c +++ b/source3/libsmb/conncache.c @@ -153,29 +153,6 @@ NTSTATUS check_negative_conn_cache( const char *domain, const char *server) return result; } -/** - * Delete any negative cache entry for the given domain/server - * - * @param[in] domain - * @param[in] server may be either a FQDN or an IP address - */ -void delete_negative_conn_cache(const char *domain, const char *server) -{ - char *key = NULL; - - key = negative_conn_cache_keystr(domain, server); - if (key == NULL) - goto done; - - gencache_del(key); - DEBUG(9,("delete_negative_conn_cache removing domain %s server %s\n", - domain, server)); - done: - TALLOC_FREE(key); - return; -} - - /** * Add an entry to the failed connection cache * -- cgit