From: Martin Quinson Date: Sun, 9 Oct 2016 09:30:36 +0000 (+0200) Subject: remove an unused parameter X-Git-Tag: v3_14~352 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b37b5defb0915827718fa485b4b8444925ec009d remove an unused parameter --- diff --git a/examples/msg/dht-chord/dht-chord.c b/examples/msg/dht-chord/dht-chord.c index 29a25a0020..57ae2ff013 100644 --- a/examples/msg/dht-chord/dht-chord.c +++ b/examples/msg/dht-chord/dht-chord.c @@ -563,7 +563,7 @@ void stabilize(node_t node) set_finger(node, 0, candidate_id); } if (successor_id != node->id) { - remote_notify(node, successor_id, node->id); + remote_notify(successor_id, node->id); } } @@ -582,7 +582,7 @@ void notify(node_t node, int predecessor_candidate_id) { } /* Notifies a remote node that its predecessor may have changed. */ -void remote_notify(node_t node, int notify_id, int predecessor_candidate_id) { +void remote_notify(int notify_id, int predecessor_candidate_id) { task_data_t req_data = xbt_new0(s_task_data_t, 1); req_data->type = TASK_NOTIFY; diff --git a/examples/msg/dht-chord/dht-chord.h b/examples/msg/dht-chord/dht-chord.h index 579b7647eb..03514119f8 100644 --- a/examples/msg/dht-chord/dht-chord.h +++ b/examples/msg/dht-chord/dht-chord.h @@ -69,7 +69,7 @@ int remote_get_predecessor(node_t node, int ask_to_id); int closest_preceding_node(node_t node, int id); void stabilize(node_t node); void notify(node_t node, int predecessor_candidate_id); -void remote_notify(node_t node, int notify_to, int predecessor_candidate_id); +void remote_notify(int notify_to, int predecessor_candidate_id); void fix_fingers(node_t node); void check_predecessor(node_t node); void random_lookup(node_t node);