network: drop redundant TAKE_PTR()

Follow-up for 16c89e649d.
This commit is contained in:
Yu Watanabe 2020-12-24 09:13:47 +09:00
parent 8c62ad1929
commit 8c86196b52
1 changed files with 0 additions and 2 deletions

View File

@ -1440,8 +1440,6 @@ int config_parse_ndisc_deny_listed_prefix(
log_syntax(unit, LOG_WARNING, filename, line, 0,
"NDisc deny-listed %sprefix entry %s is duplicated, ignoring assignment.",
is_route ? "route " : "", n);
if (r > 0)
TAKE_PTR(a);
}
}