From a423f5151d3ecf7d3dc37ae85b5868a46cdb9d39 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 31 May 2010 11:45:58 +0200 Subject: s3:idmap: remove unused get_alloc_methods(). --- source3/winbindd/idmap.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 564df3ced1..685062ec4a 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -109,19 +109,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() && -- cgit