static void hna_local_del(struct hna_local_entry *hna_local_entry, char *message) { bat_dbg(DBG_ROUTES, "Deleting local hna entry (%pM): %s\n", hna_local_entry->addr, message); hash_remove(hna_local_hash, hna_local_entry->addr); _hna_local_del(hna_local_entry); }
static void hna_local_del(struct hna_local_entry *hna_local_entry, char *message) { char hna_str[ETH_STR_LEN]; addr_to_string(hna_str, hna_local_entry->addr); debug_log(LOG_TYPE_ROUTES, "Deleting local hna entry (%s): %s \n", hna_str, message); hash_remove(hna_local_hash, hna_local_entry->addr); _hna_local_del(hna_local_entry); }