remove unnecessary if statement

git-svn-id: file:///svn/unbound/trunk@2009 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2010-03-04 15:24:34 +00:00
parent e4ba18f3f2
commit 867dfc0563

View File

@ -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 */
}
}