mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
idmap: remove unused function idmap_is_online()
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Reviewed-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Aug 4 14:08:37 CEST 2017 on sn-devel-144
This commit is contained in:
parent
977cf75166
commit
3a2a9d8d3f
@ -57,11 +57,6 @@ bool winbindd_use_idmap_cache(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool idmap_is_online(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool open_db(struct idmap_tdb_common_context *ctx)
|
||||
{
|
||||
NTSTATUS status;
|
||||
|
@ -304,11 +304,6 @@ bool idmap_is_offline(void)
|
||||
get_global_winbindd_state_offline() );
|
||||
}
|
||||
|
||||
bool idmap_is_online(void)
|
||||
{
|
||||
return !idmap_is_offline();
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
Allow a module to register itself as a method.
|
||||
**********************************************************************/
|
||||
|
@ -28,7 +28,6 @@
|
||||
/* The following definitions come from winbindd/idmap.c */
|
||||
|
||||
bool idmap_is_offline(void);
|
||||
bool idmap_is_online(void);
|
||||
NTSTATUS smb_register_idmap(int version, const char *name,
|
||||
struct idmap_methods *methods);
|
||||
void idmap_close(void);
|
||||
|
Loading…
Reference in New Issue
Block a user