/* free_retrans_entry() routines assumes that the retrans_list_lock has been acquired before calling.  */
static void free_retrans_entry(struct nes_cm_node *cm_node)
/* free_retrans_entry() routines assumes that the retrans_list_lock has been acquired before calling.  */
static void free_retrans_entry(struct nes_cm_node *cm_node)
{
	struct nes_timer_entry *send_entry;
	send_entry = cm_node->send_entry;
	if (send_entry) {
		cm_node->send_entry = NULL;
		dev_kfree_skb_any(send_entry->skb);
		kfree(send_entry);
		rem_ref_cm_node(cm_node->cm_core, cm_node);
	}
}