summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-22 10:19:14 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-27 15:28:06 +0100
commit7d93d3d4b8db230ceb51a81f18650b8114528f1f (patch)
treec99a014c620bec2b18e925329fcbff56688973ae /source3/libsmb
parent920f8b15685eb3f378c6ba5865a57e5f4d36e042 (diff)
downloadsamba-7d93d3d4b8db230ceb51a81f18650b8114528f1f.tar.gz
samba-7d93d3d4b8db230ceb51a81f18650b8114528f1f.tar.bz2
samba-7d93d3d4b8db230ceb51a81f18650b8114528f1f.zip
s3:namecache: remove unused namecache_shutdown() function
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namecache.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/libsmb/namecache.c b/source3/libsmb/namecache.c
index ba706e5ee2..d3230cffef 100644
--- a/source3/libsmb/namecache.c
+++ b/source3/libsmb/namecache.c
@@ -62,27 +62,6 @@ bool namecache_enable(void)
}
/**
- * Shutdown namecache. Routine calls gencache close function
- * to safely close gencache file.
- *
- * @return true upon successful shutdown of the cache or
- * false on failure
- **/
-
-bool namecache_shutdown(void)
-{
- if (!gencache_shutdown()) {
- DEBUG(2, ("namecache_shutdown: "
- "Couldn't close namecache on top of gencache.\n"));
- return False;
- }
-
- DEBUG(5, ("namecache_shutdown: "
- "netbios namecache closed successfully.\n"));
- return True;
-}
-
-/**
* Generates a key for netbios name lookups on basis of
* netbios name and type.
* The caller must free returned key string when finished.