1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:namecache: remove unused namecache_shutdown() function

metze
This commit is contained in:
Stefan Metzmacher 2009-01-22 10:19:14 +01:00
parent 920f8b1568
commit 7d93d3d4b8
3 changed files with 0 additions and 24 deletions

View File

@ -2944,7 +2944,6 @@ NTSTATUS map_nt_error_from_gss(uint32 gss_maj, uint32 minor);
/* The following definitions come from libsmb/namecache.c */
bool namecache_enable(void);
bool namecache_shutdown(void);
bool namecache_store(const char *name,
int name_type,
int num_names,

View File

@ -61,27 +61,6 @@ bool namecache_enable(void)
return True;
}
/**
* 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.

View File

@ -1476,8 +1476,6 @@ extern void build_options(bool screen);
smbd_process();
namecache_shutdown();
exit_server_cleanly(NULL);
return(0);
}