summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-24 13:50:39 +0100
committerVolker Lendecke <vl@samba.org>2009-12-24 15:24:35 +0100
commitffab1a23187c720402008513e73d3fb5a17de40a (patch)
tree7e45d9e89d2e9538be947e3e9aa2e8b6ae0b18e2
parent53bf5f0064757ec6bad9cbe7bd8a0b34108fc4d7 (diff)
downloadsamba-ffab1a23187c720402008513e73d3fb5a17de40a.tar.gz
samba-ffab1a23187c720402008513e73d3fb5a17de40a.tar.bz2
samba-ffab1a23187c720402008513e73d3fb5a17de40a.zip
s3: Remove unused flush_negative_conn_cache()
-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
*