mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
remove unnecessary if statement
git-svn-id: file:///svn/unbound/trunk@2009 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
e4ba18f3f2
commit
867dfc0563
@ -829,10 +829,7 @@ generate_dnskey_prefetch(struct module_qstate* qstate,
|
||||
/* this qstate has the right delegation for the dnskey lookup*/
|
||||
/* make copy to avoid use of stub dp by different qs/threads */
|
||||
subiq->dp = delegpt_copy(iq->dp, subq->region);
|
||||
if(!subiq->dp) {
|
||||
/* it'll start from the cache */
|
||||
return;
|
||||
}
|
||||
/* if !subiq->dp, it'll start from the cache, no problem */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user