libsmb: Remove some stale code
authorVolker Lendecke <vl@samba.org>
Fri, 20 Jan 2017 12:40:23 +0000 (13:40 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 14 Mar 2017 14:22:12 +0000 (15:22 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/include/proto.h
source3/libsmb/trustdom_cache.c
source3/winbindd/winbindd.c

index e6d42845059077285e4e3ab5b3fa1b94ddc7fb71..acd01274e4016a1ca2428224125b6d5ad8a3f2c7 100644 (file)
@@ -847,8 +847,6 @@ WERROR map_werror_from_unix(int error);
 
 /* The following definitions come from libsmb/trustdom_cache.c  */
 
-bool trustdom_cache_enable(void);
-bool trustdom_cache_shutdown(void);
 bool trustdom_cache_store(const char *name, const char *alt_name,
                          const struct dom_sid *sid, time_t timeout);
 bool trustdom_cache_fetch(const char* name, struct dom_sid* sid);
index d78a28c5b3a8992a43feb28fc88c9446d024a3f3..587e1d22db3ab0c833ac025d32f2754df3265c2d 100644 (file)
  * list of trusted domains
  **/
 
-/**
- * Initialise trustdom name caching system. Call gencache
- * initialisation routine to perform necessary activities.
- *
- * @return true upon successful cache initialisation or
- *         false if cache init failed
- **/
-
-bool trustdom_cache_enable(void)
-{
-       return True;
-}
-
-
-/**
- * Shutdown trustdom name caching system. Calls gencache
- * shutdown function.
- *
- * @return true upon successful cache close or
- *         false if it failed
- **/
-
-bool trustdom_cache_shutdown(void)
-{
-       return True;
-}
-
-
 /**
  * Form up trustdom name key. It is based only
  * on domain name now.
index 2cd200142673f9c15f4f15952fb48180d1c21520..3c16366597b64464ceeeaa80d768c9f5e170cdc3 100644 (file)
@@ -243,8 +243,6 @@ static void terminate(bool is_parent)
 
        idmap_close();
 
-       trustdom_cache_shutdown();
-
        gencache_stabilize();
 
 #if 0