summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/libsmb/conncache.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f303c70821..a68ec8bbec 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3058,7 +3058,6 @@ NTSTATUS check_negative_conn_cache_timeout( const char *domain, const char *serv
NTSTATUS check_negative_conn_cache( const char *domain, const char *server);
void add_failed_connection_entry(const char *domain, const char *server, NTSTATUS result) ;
void delete_negative_conn_cache(const char *domain, const char *server);
-void flush_negative_conn_cache( void );
void flush_negative_conn_cache_for_domain(const char *domain);
/* The following definitions come from ../librpc/rpc/dcerpc_error.c */
diff --git a/source3/libsmb/conncache.c b/source3/libsmb/conncache.c
index c4c53d0681..1ec303f184 100644
--- a/source3/libsmb/conncache.c
+++ b/source3/libsmb/conncache.c
@@ -222,15 +222,6 @@ void add_failed_connection_entry(const char *domain, const char *server,
}
/**
- * Deletes all records from the negative connection cache in all domains
- */
-void flush_negative_conn_cache( void )
-{
- flush_negative_conn_cache_for_domain("*");
-}
-
-
-/**
* Deletes all records for a specified domain from the negative connection
* cache
*