Remove redundant definition of func send_dist