s3:winbind: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>
Mon, 31 May 2010 15:34:07 +0000 (17:34 +0200)
source3/winbindd/idmap.c

index c5ad005c73e30061b6f11565effc4bf9628563e7..f9601ca1286b8af0da8866b3b9630e44e16668ef 100644 (file)
@@ -94,19 +94,6 @@ static struct idmap_methods *get_methods(const char *name)
        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() &&