From ffab1a23187c720402008513e73d3fb5a17de40a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 24 Dec 2009 13:50:39 +0100 Subject: s3: Remove unused flush_negative_conn_cache() --- source3/include/proto.h | 1 - source3/libsmb/conncache.c | 9 --------- 2 files changed, 10 deletions(-) (limited to 'source3') 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 @@ -221,15 +221,6 @@ void add_failed_connection_entry(const char *domain, const char *server, return; } -/** - * 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 -- cgit