summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-16 00:09:24 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-21 08:27:31 +0200
commit0159344d4c55d9bea7f7938b6a3e750177fe6108 (patch)
tree1e449c154f1dd7ca6ff7314e57136bbc7954779c
parent1eacf3a66f44be94b345813ae667d5b3a36701b4 (diff)
downloadsamba-0159344d4c55d9bea7f7938b6a3e750177fe6108.tar.gz
samba-0159344d4c55d9bea7f7938b6a3e750177fe6108.tar.bz2
samba-0159344d4c55d9bea7f7938b6a3e750177fe6108.zip
s3:util: remove (now) unused cluster_id_equal()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/lib/util.c6
2 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a258bf3ab4..64af7c2559 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -471,8 +471,6 @@ struct server_id pid_to_procid(pid_t pid);
struct server_id procid_self(void);
struct server_id *new_server_id_task(TALLOC_CTX *mem_ctx);
bool procid_equal(const struct server_id *p1, const struct server_id *p2);
-bool cluster_id_equal(const struct server_id *id1,
- const struct server_id *id2);
bool procid_is_me(const struct server_id *pid);
struct server_id interpret_pid(const char *pid_string);
char *procid_str_static(const struct server_id *pid);
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 7ba46cfb39..2a01e2c9f9 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2079,12 +2079,6 @@ bool procid_equal(const struct server_id *p1, const struct server_id *p2)
return true;
}
-bool cluster_id_equal(const struct server_id *id1,
- const struct server_id *id2)
-{
- return procid_equal(id1, id2);
-}
-
bool procid_is_me(const struct server_id *pid)
{
if (pid->pid != getpid())