diff --git a/ctdb/server/ctdb_takeover.c b/ctdb/server/ctdb_takeover.c index c359d664fc2..5e8aabfe80e 100644 --- a/ctdb/server/ctdb_takeover.c +++ b/ctdb/server/ctdb_takeover.c @@ -576,7 +576,6 @@ static void ctdb_do_updateip_callback(struct ctdb_context *ctdb, int status, { struct ctdb_do_updateip_state *state = talloc_get_type(private_data, struct ctdb_do_updateip_state); - int32_t ret; if (status != 0) { if (status == -ETIME) { @@ -601,17 +600,6 @@ static void ctdb_do_updateip_callback(struct ctdb_context *ctdb, int status, return; } - if (ctdb->do_checkpublicip) { - - ret = ctdb_announce_vnn_iface(ctdb, state->vnn); - if (ret != 0) { - ctdb_request_control_reply(ctdb, state->c, NULL, -1, NULL); - talloc_free(state); - return; - } - - } - /* the control succeeded */ ctdb_request_control_reply(ctdb, state->c, NULL, 0, NULL); talloc_free(state);