nfqws: remove unneeded function

This commit is contained in:
bol-van 2024-10-29 14:35:04 +03:00
parent 6686c4a190
commit 1fdf5477b4
2 changed files with 0 additions and 9 deletions

View File

@ -223,11 +223,3 @@ void dp_list_destroy(struct desync_profile_list_head *head)
dp_entry_destroy(entry);
}
}
bool dp_list_have_autohostlist(struct desync_profile_list_head *head)
{
struct desync_profile_list *dpl;
LIST_FOREACH(dpl, head, next)
if (dpl->dp.hostlist_auto)
return true;
return false;
}

View File

@ -90,7 +90,6 @@ struct desync_profile_list {
LIST_HEAD(desync_profile_list_head, desync_profile_list);
struct desync_profile_list *dp_list_add(struct desync_profile_list_head *head);
void dp_list_destroy(struct desync_profile_list_head *head);
bool dp_list_have_autohostlist(struct desync_profile_list_head *head);
struct params_s
{