summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-31 11:45:58 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:39 +0200
commita423f5151d3ecf7d3dc37ae85b5868a46cdb9d39 (patch)
tree57fea01b6714b5a266d221cb476f05f68e2660e1 /source3
parent75a6c244591b4bc13c494c2b0ec40926379d2d4a (diff)
downloadsamba-a423f5151d3ecf7d3dc37ae85b5868a46cdb9d39.tar.gz
samba-a423f5151d3ecf7d3dc37ae85b5868a46cdb9d39.tar.bz2
samba-a423f5151d3ecf7d3dc37ae85b5868a46cdb9d39.zip
s3:idmap: remove unused get_alloc_methods().
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap.c13
1 files changed, 0 insertions, 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() &&