Index: uspace/srv/net/tl/icmp/icmp.c
===================================================================
--- uspace/srv/net/tl/icmp/icmp.c	(revision 1b44433c8c154ddf7ece869c3e3be26dfc91e7ec)
+++ uspace/srv/net/tl/icmp/icmp.c	(revision bda29b3744359e00ac7840e7eac119dde690aed2)
@@ -447,28 +447,4 @@
 	}
 	return ip_send_msg(icmp_globals.ip_phone, -1, packet, SERVICE_ICMP, error);
-}
-
-int icmp_connect_module(services_t service, suseconds_t timeout){
-	icmp_echo_ref echo_data;
-	icmp_param_t id;
-	int index;
-
-	echo_data = (icmp_echo_ref) malloc(sizeof(*echo_data));
-	if(! echo_data){
-		return ENOMEM;
-	}
-	// assign a new identifier
-	fibril_rwlock_write_lock(&icmp_globals.lock);
-	index = icmp_bind_free_id(echo_data);
-	if(index < 0){
-		free(echo_data);
-		fibril_rwlock_write_unlock(&icmp_globals.lock);
-		return index;
-	}else{
-		id = echo_data->identifier;
-		fibril_rwlock_write_unlock(&icmp_globals.lock);
-		// return the echo data identifier as the ICMP phone
-		return id;
-	}
 }
 
