s3:idmap: remove unused get_alloc_methods().
authorMichael Adam <obnox@samba.org>
Mon, 31 May 2010 09:45:58 +0000 (11:45 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:39 +0000 (02:10 +0200)
source3/winbindd/idmap.c

index 564df3ced1dcc46ae6d4ccd2141fc595e054ae65..685062ec4aaebf1b41c5d7302a8aaa63a106e0dc 100644 (file)
@@ -109,19 +109,6 @@ static struct idmap_methods *get_methods(const char *name)
        return NULL;
 }
 
        return NULL;
 }
 
-static struct idmap_alloc_methods *get_alloc_methods(const char *name)
-{
-       struct idmap_alloc_backend *b;
-
-       for (b = alloc_backends; b; b = b->next) {
-               if (strequal(b->name, name)) {
-                       return b->methods;
-               }
-       }
-
-       return NULL;
-}
-
 bool idmap_is_offline(void)
 {
        return ( lp_winbind_offline_logon() &&
 bool idmap_is_offline(void)
 {
        return ( lp_winbind_offline_logon() &&