git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
342dcaa
)
s3:winbind:idmap: remove unused get_alloc_methods().
author
Michael Adam
<obnox@samba.org>
Mon, 31 May 2010 09:45:58 +0000
(11:45 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 31 May 2010 15:34:07 +0000
(17:34 +0200)
source3/winbindd/idmap.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap.c
b/source3/winbindd/idmap.c
index c5ad005c73e30061b6f11565effc4bf9628563e7..f9601ca1286b8af0da8866b3b9630e44e16668ef 100644
(file)
--- a/
source3/winbindd/idmap.c
+++ b/
source3/winbindd/idmap.c
@@
-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() &&