From e225fbd38c5b665c3f45eda666470a4e54751a6d Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 4 May 2016 16:51:05 +1000 Subject: [PATCH] ctdb-protocol: Drop unused CTDB_SRVID_TAKEOVER_RUN_RESPONSE Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/protocol/protocol.h | 3 --- ctdb/protocol/protocol_debug.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/ctdb/protocol/protocol.h b/ctdb/protocol/protocol.h index 64b1fed1eab..7f2ba92bbc1 100644 --- a/ctdb/protocol/protocol.h +++ b/ctdb/protocol/protocol.h @@ -178,9 +178,6 @@ struct ctdb_call { /* SRVID to inform recovery daemon to disable the public ip checks */ #define CTDB_SRVID_DISABLE_IP_CHECK 0xFC00000000000000LL -/* SRVID to inform recovery daemon of ipreallocate resposnes from ctdbd */ -#define CTDB_SRVID_TAKEOVER_RUN_RESPONSE 0xFD00000000000000LL - /* A range of ports reserved for registering a PID (top 8 bits) * All ports matching the 8 top bits are reserved for exclusive use by * registering a SRVID that matches the process-id of the requesting process diff --git a/ctdb/protocol/protocol_debug.c b/ctdb/protocol/protocol_debug.c index 96c5ddec807..b86f1c29dd8 100644 --- a/ctdb/protocol/protocol_debug.c +++ b/ctdb/protocol/protocol_debug.c @@ -320,8 +320,6 @@ static void ctdb_srvid_print(uint64_t srvid, FILE *fp) fprintf(fp, "DISABLE_RECOVERIES"); } else if (srvid == CTDB_SRVID_DISABLE_IP_CHECK) { fprintf(fp, "DISABLE_IP_CHECK"); - } else if (srvid == CTDB_SRVID_TAKEOVER_RUN_RESPONSE) { - fprintf(fp, "TAKEOVER_RUN_RESPONSE"); } else if ((srvid & prefix) == CTDB_SRVID_SAMBA_RANGE) { if (srvid == CTDB_SRVID_SAMBA_NOTIFY) { fprintf(fp, "SAMBA_NOTIFY");